deltachat::receive_imf

Function apply_group_changes

source
async fn apply_group_changes(
    context: &Context,
    mime_parser: &mut MimeMessage,
    chat_id: ChatId,
    from_id: ContactId,
    to_ids: &[ContactId],
    is_partial_download: bool,
    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 just omitted.

  • is_partial_download - whether the message is not fully downloaded.