Function apply_chat_name_and_avatar_changes

Source
async fn apply_chat_name_and_avatar_changes(
    context: &Context,
    mime_parser: &MimeMessage,
    from_id: ContactId,
    chat: &mut Chat,
    send_event_chat_modified: &mut bool,
    better_msg: &mut Option<String>,
) -> Result<()>
Expand description

Applies incoming changes to the group’s or broadcast channel’s name and avatar.

  • send_event_chat_modified is set to true if ChatModified event should be sent
  • better_msg is filled with an info message about name change, if necessary