fix group changes in multi device setup (#2848)

* test adding members in a multi-device setup

* fix system messages for multi-device-setup

* enhance test to check multi-device messages for removing-members and group-renames
This commit is contained in:
bjoern
2021-11-30 00:31:36 +01:00
committed by GitHub
parent 7f97768c56
commit 078c3d05d7
2 changed files with 91 additions and 0 deletions

View File

@@ -825,6 +825,18 @@ async fn add_parts(
}
}
if let Some(chat_id) = chat_id {
apply_group_changes(
context,
mime_parser,
sent_timestamp,
chat_id,
from_id,
to_ids,
)
.await?;
}
if chat_id.is_none() && self_sent {
// from_id==to_id==DC_CONTACT_ID_SELF - this is a self-sent messages,
// maybe an Autocrypt Setup Message