async fn apply_group_changes(
context: &Context,
mime_parser: &mut MimeMessage,
chat_id: ChatId,
from_id: ContactId,
to_ids: &[ContactId],
past_ids: &[ContactId],
verified_encryption: &VerifiedEncryption,
) -> Result<(Vec<String>, Option<String>)>
Expand description
Apply group member list, name, avatar and protection status changes from the MIME message.
Returns Vec
of group changes messages and, optionally, a better message to replace the
original system message. If the better message is empty, the original system message
should be trashed.
to_ids
- contents of theTo
andCc
headers.past_ids
- contents of theChat-Group-Past-Members
header.