From 3a25d6b275eb2d33a64dbc7a60e37df2bf18a559 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Tue, 18 Feb 2020 17:13:59 +0100 Subject: [PATCH] target comment of @link2xt --- src/dc_receive_imf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dc_receive_imf.rs b/src/dc_receive_imf.rs index f2f333632..67b1a9264 100644 --- a/src/dc_receive_imf.rs +++ b/src/dc_receive_imf.rs @@ -1025,7 +1025,7 @@ fn create_or_lookup_group( if !chat::is_contact_in_chat(context, chat_id, DC_CONTACT_ID_SELF) { chat::add_to_chat_contacts_table(context, chat_id, DC_CONTACT_ID_SELF); } - if from_id > DC_CHAT_ID_LAST_SPECIAL + if from_id > DC_CONTACT_ID_LAST_SPECIAL && !Contact::addr_equals_contact(context, &self_addr, from_id as u32) && !chat::is_contact_in_chat(context, chat_id, from_id) {