diff options
-rw-r--r-- | protocols/Telegram/src/proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp index 555a336b5b..d62eda948c 100644 --- a/protocols/Telegram/src/proto.cpp +++ b/protocols/Telegram/src/proto.cpp @@ -138,7 +138,7 @@ bool CTelegramProto::OnContactDeleted(MCONTACT hContact, uint32_t flags) if (flags & CDF_DEL_HISTORY) SvcEmptyServerHistory(hContact, flags); - if (flags & CDF_FROM_SERVER) { + if (flags & CDF_DEL_CONTACT) { TD::array<TD::int53> ids; ids.push_back(id); SendQuery(new TD::removeContacts(std::move(ids))); |