We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1946603 commit 1b1a5f1Copy full SHA for 1b1a5f1
src/securejoin/securejoin_tests.rs
@@ -477,6 +477,13 @@ async fn test_secure_join() -> Result<()> {
477
bob.recv_msg_trash(&sent).await;
478
let sent = bob.pop_sent_msg().await;
479
480
+ // At this point Alice is still not part of the chat.
481
+ // The final step of Alice adding Bob to the chat
482
+ // may not work out and we don't want Bob
483
+ // to implicitly add Alice if he manages to join the group
484
+ // much later via another member.
485
+ assert_eq!(chat::get_chat_contacts(&bob, bob_chatid).await?.len(), 0);
486
+
487
let contact_alice_id = bob.add_or_lookup_contact_no_key(&alice).await.id;
488
489
// Check Bob emitted the JoinerProgress event.
0 commit comments