From d0871d3bd7566986594ea4827507be576326b9cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kl=C3=A4hn?= Date: Tue, 27 Dec 2022 17:41:21 +0100 Subject: [PATCH] fmt + changelog --- CHANGELOG.md | 2 +- src/receive_imf.rs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8edd9f065..eae73a721 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ ### Fixes - Do not add an error if the message is encrypted but not signed #3860 - Do not strip leading spaces from message lines #3867 - +- Don't always rebuild group member lists #3872 ## 1.104.0 diff --git a/src/receive_imf.rs b/src/receive_imf.rs index 1863a807a..ff16685d7 100644 --- a/src/receive_imf.rs +++ b/src/receive_imf.rs @@ -1603,9 +1603,7 @@ async fn apply_group_changes( let mut recreate_member_list = match mime_parser.get_header(HeaderDef::InReplyTo) { Some(reply_to) if rfc724_mid_exists(context, reply_to).await?.is_none() => true, - Some(_) => { - !is_contact_in_chat(context, chat_id, ContactId::SELF).await? - } + Some(_) => !is_contact_in_chat(context, chat_id, ContactId::SELF).await?, None => true, };