File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,6 @@ pub(crate) async fn iroh_add_peer_for_topic(
341
341
}
342
342
343
343
/// Add gossip peer from `Iroh-Node-Addr` header to WebXDC message identified by `instance_id`.
344
- /// This should not start iroh, because receiving a NodeAddr does not mean you want to participate.
345
344
pub async fn add_gossip_peer_from_header (
346
345
context : & Context ,
347
346
instance_id : MsgId ,
@@ -981,6 +980,7 @@ mod tests {
981
980
let msg = alice. pop_sent_msg ( ) . await ;
982
981
let fiona_instance = fiona. recv_msg ( & msg) . await ;
983
982
fiona_instance. chat_id . accept ( fiona) . await . unwrap ( ) ;
983
+ assert ! ( !fiona. ctx. iroh. read( ) . await . is_some( ) ) ;
984
984
985
985
let fiona_connect_future = send_webxdc_realtime_advertisement ( fiona, fiona_instance. id )
986
986
. await
You can’t perform that action at this time.
0 commit comments