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],
    past_ids: &[ContactId],
    verified_encryption: &VerifiedEncryption,
) -> Result<GroupChangesInfo>
Expand description

Apply group member list, name, avatar and protection status changes from the MIME message.

Returns GroupChangesInfo.

  • to_ids - contents of the To and Cc headers.
  • past_ids - contents of the Chat-Group-Past-Members header.