diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-25 11:40:24 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-25 11:40:24 +0300 |
commit | 97f76c6b2dd8a0d7004a272d4db78ac3f606e95c (patch) | |
tree | 66290e9b7bcf75102163fb9ca11b539efcb148b2 /protocols | |
parent | 32924be432eff09324f2ab1ac741a01bbfef75ca (diff) |
code cleaning
Diffstat (limited to 'protocols')
-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))); |