Skip to content

Commit 5073bbd

Browse files
Septiasiequidoo
andcommitted
fixes
co-authored-by: iequidoo <[email protected]>
1 parent 53fe757 commit 5073bbd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/mimefactory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,7 @@ impl MimeFactory {
16851685
.map(|top| BASE32_NOPAD.encode(top.as_bytes()).to_ascii_lowercase())
16861686
.unwrap_or(create_iroh_header(context, msg.id).await?);
16871687
headers.push((
1688-
HeaderDef::IrohGossipTopic.into(),
1688+
HeaderDef::IrohGossipTopic.get_headername(),
16891689
mail_builder::headers::raw::Raw::new(topic).into(),
16901690
));
16911691
if let (Some(json), _) = context

src/peer_channels.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl Iroh {
109109

110110
info!(
111111
ctx,
112-
"IROH_REALTIME: Joining gossip {topic} with peers: {:?}", node_ids,
112+
"IROH_REALTIME: Joining gossip {topic} with peers: {:?}.", node_ids,
113113
);
114114

115115
// Inform iroh of potentially new node addresses
@@ -315,7 +315,7 @@ impl Context {
315315
if let Some(iroh) = &*self.iroh.read().await {
316316
info!(
317317
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
319319
);
320320
iroh.maybe_add_gossip_peer(topic, peer).await?;
321321
}
@@ -1012,10 +1012,10 @@ mod tests {
10121012
async fn connect_alice_bob(
10131013
alice: &mut TestContext,
10141014
bob: &mut TestContext,
1015-
chat: ChatId,
1015+
alice_chat_id: ChatId,
10161016
instance: &mut Message,
10171017
) {
1018-
send_msg(alice, chat, instance).await.unwrap();
1018+
send_msg(alice, alice_chat_id, instance).await.unwrap();
10191019
let alice_webxdc = alice.get_last_msg().await;
10201020

10211021
let webxdc = alice.pop_sent_msg().await;

0 commit comments

Comments
 (0)