From d8542c7abec0675f98aa2b2668e3ed26dbd5408e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 9 Mar 2023 20:11:34 +0300 Subject: =?UTF-8?q?fixes=20#3407=20(Telegram:=20=D0=B2=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=BF=D0=B8=D1=81=D0=BA=D0=B5=20=D1=81=20=D0=B4?= =?UTF-8?q?=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BD=D1=8B=D0=BC?= =?UTF-8?q?=D0=B8=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B0=D0=BA=D1=82=D0=B0=D0=BC?= =?UTF-8?q?=D0=B8=20=D1=8F=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Telegram/src/server.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/Telegram/src') diff --git a/protocols/Telegram/src/server.cpp b/protocols/Telegram/src/server.cpp index 0412b0ed0f..7cada3e34c 100644 --- a/protocols/Telegram/src/server.cpp +++ b/protocols/Telegram/src/server.cpp @@ -569,8 +569,7 @@ void CTelegramProto::ProcessUser(TD::updateUser *pObj) m_arChats.insert(pMe); } } - - if (!pUser->is_contact_) { + else if (!pUser->is_contact_) { auto *pu = AddFakeUser(pUser->id_, false); if (pu->hContact != INVALID_CONTACT_ID) Contact::RemoveFromList(pu->hContact); -- cgit v1.2.3