feat: apply_group_changes: Add system messages about implicitly added members

This commit is contained in:
iequidoo
2023-11-07 06:30:46 -03:00
committed by iequidoo
parent 28952789a4
commit ad51a7cd85
5 changed files with 64 additions and 34 deletions

View File

@@ -514,12 +514,7 @@ impl TestContext {
.await
.expect("receive_imf() seems not to have added a new message to the db");
assert_eq!(
received.msg_ids.len(),
1,
"recv_msg() can currently only receive messages with exactly one part"
);
let msg = Message::load_from_db(self, received.msg_ids[0])
let msg = Message::load_from_db(self, *received.msg_ids.last().unwrap())
.await
.unwrap();