mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 13:26:28 +03:00
target comment of @link2xt
This commit is contained in:
committed by
holger krekel
parent
66e2f51233
commit
3a25d6b275
@@ -1025,7 +1025,7 @@ fn create_or_lookup_group(
|
|||||||
if !chat::is_contact_in_chat(context, chat_id, DC_CONTACT_ID_SELF) {
|
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);
|
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)
|
&& !Contact::addr_equals_contact(context, &self_addr, from_id as u32)
|
||||||
&& !chat::is_contact_in_chat(context, chat_id, from_id)
|
&& !chat::is_contact_in_chat(context, chat_id, from_id)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user