File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4152,11 +4152,15 @@ async fn test_ignore_outdated_membership_changes() -> Result<()> {
4152
4152
4153
4153
SystemTime :: shift ( Duration :: from_secs ( 3600 ) ) ;
4154
4154
4155
- // Bob replies again adding Alice back.
4155
+ // Bob replies again, even after some time this does not add Alice back.
4156
+ //
4157
+ // Bob cannot learn from Alice that Alice has left the group
4158
+ // because Alice is not going to send more messages to the group.
4156
4159
send_text_msg ( bob, bob_chat_id, "i'm bob" . to_string ( ) ) . await ?;
4157
4160
let msg = & bob. pop_sent_msg ( ) . await ;
4158
4161
alice. recv_msg ( msg) . await ;
4159
- assert ! ( is_contact_in_chat( alice, alice_chat_id, ContactId :: SELF ) . await ?) ;
4162
+
4163
+ assert ! ( !is_contact_in_chat( alice, alice_chat_id, ContactId :: SELF ) . await ?) ;
4160
4164
4161
4165
Ok ( ( ) )
4162
4166
}
You can’t perform that action at this time.
0 commit comments