Skip to content

Commit

Permalink
test: expect trashing of no-op "member added" in non_member_cannot_mo…
Browse files Browse the repository at this point in the history
…dify_member_list
  • Loading branch information
link2xt committed Jan 15, 2025
1 parent ffd2ec9 commit 69e01b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7891,7 +7891,7 @@ mod tests {

// Alice ignores Bob's message because Bob is not a member.
assert_eq!(get_chat_contacts(alice, alice_chat_id).await?.len(), 1);
alice.recv_msg(&bob_sent_add_msg).await;
alice.recv_msg_trash(&bob_sent_add_msg).await;
assert_eq!(get_chat_contacts(alice, alice_chat_id).await?.len(), 1);

Ok(())
Expand Down

0 comments on commit 69e01b5

Please sign in to comment.