diff --git a/src/chat.rs b/src/chat.rs index 163ce9bb99..89d4f3e81e 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -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(())