File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1685,7 +1685,7 @@ impl MimeFactory {
1685
1685
. map ( |top| BASE32_NOPAD . encode ( top. as_bytes ( ) ) . to_ascii_lowercase ( ) )
1686
1686
. unwrap_or ( create_iroh_header ( context, msg. id ) . await ?) ;
1687
1687
headers. push ( (
1688
- HeaderDef :: IrohGossipTopic . into ( ) ,
1688
+ HeaderDef :: IrohGossipTopic . get_headername ( ) ,
1689
1689
mail_builder:: headers:: raw:: Raw :: new ( topic) . into ( ) ,
1690
1690
) ) ;
1691
1691
if let ( Some ( json) , _) = context
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ impl Iroh {
109
109
110
110
info ! (
111
111
ctx,
112
- "IROH_REALTIME: Joining gossip {topic} with peers: {:?}" , node_ids,
112
+ "IROH_REALTIME: Joining gossip {topic} with peers: {:?}. " , node_ids,
113
113
) ;
114
114
115
115
// Inform iroh of potentially new node addresses
@@ -315,7 +315,7 @@ impl Context {
315
315
if let Some ( iroh) = & * self . iroh . read ( ) . await {
316
316
info ! (
317
317
self ,
318
- "Adding (maybe existing) peer with id {} to {topic}" , peer. node_id
318
+ "Adding (maybe existing) peer with id {} to {topic}. " , peer. node_id
319
319
) ;
320
320
iroh. maybe_add_gossip_peer ( topic, peer) . await ?;
321
321
}
@@ -1012,10 +1012,10 @@ mod tests {
1012
1012
async fn connect_alice_bob (
1013
1013
alice : & mut TestContext ,
1014
1014
bob : & mut TestContext ,
1015
- chat : ChatId ,
1015
+ alice_chat_id : ChatId ,
1016
1016
instance : & mut Message ,
1017
1017
) {
1018
- send_msg ( alice, chat , instance) . await . unwrap ( ) ;
1018
+ send_msg ( alice, alice_chat_id , instance) . await . unwrap ( ) ;
1019
1019
let alice_webxdc = alice. get_last_msg ( ) . await ;
1020
1020
1021
1021
let webxdc = alice. pop_sent_msg ( ) . await ;
You can’t perform that action at this time.
0 commit comments