@@ -23,8 +23,7 @@ use crate::contact::{Contact, ContactId, Origin};
23
23
use crate :: context:: Context ;
24
24
use crate :: e2ee:: EncryptHelper ;
25
25
use crate :: ephemeral:: Timer as EphemeralTimer ;
26
- use crate :: key:: self_fingerprint;
27
- use crate :: key:: { DcKey , SignedPublicKey } ;
26
+ use crate :: key:: { DcKey , self_fingerprint, SignedPublicKey } ;
28
27
use crate :: location;
29
28
use crate :: log:: { info, warn} ;
30
29
use crate :: message:: { self , Message , MsgId , Viewtype } ;
@@ -1494,7 +1493,7 @@ impl MimeFactory {
1494
1493
}
1495
1494
SystemMessage :: IrohNodeAddr => {
1496
1495
headers. push ( (
1497
- "Iroh-Node-Addr" ,
1496
+ HeaderDef :: IrohNodeAddr . into ( ) ,
1498
1497
mail_builder:: headers:: text:: Text :: new ( serde_json:: to_string (
1499
1498
& context
1500
1499
. get_or_try_init_peer_channel ( )
@@ -1676,7 +1675,7 @@ impl MimeFactory {
1676
1675
parts. push ( context. build_status_update_part ( json) ) ;
1677
1676
} else if msg. viewtype == Viewtype :: Webxdc {
1678
1677
headers. push ( (
1679
- "Iroh-Gossip-Topic" ,
1678
+ HeaderDef :: IrohGossipTopic . into ( ) ,
1680
1679
mail_builder:: headers:: raw:: Raw :: new ( create_iroh_header ( context, msg. id ) . await ?)
1681
1680
. into ( ) ,
1682
1681
) ) ;
0 commit comments