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 c43b622 commit 1946603Copy full SHA for 1946603
src/securejoin/securejoin_tests.rs
@@ -605,6 +605,10 @@ async fn test_secure_join() -> Result<()> {
605
let bob_chat = Chat::load_from_db(&bob.ctx, bob_chatid).await?;
606
assert!(bob_chat.typ == Chattype::Group);
607
608
+ // At the end of the protocol
609
+ // Bob should have two members in the chat.
610
+ assert_eq!(chat::get_chat_contacts(&bob, bob_chatid).await?.len(), 2);
611
+
612
// On this "happy path", Alice and Bob get only a group-chat where all information are added to.
613
// The one-to-one chats are used internally for the hidden handshake messages,
614
// however, should not be visible in the UIs.
0 commit comments