summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-06-05 11:47:21 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-06-05 11:47:21 +0300
commit4b53f58821f7adf0fdbe25af50c929927684e04e (patch)
tree0cc58cebdee74504d895575c65191df721d02930 /protocols/Telegram/src/proto.cpp
parent598c58cef36537d6ba12ec329c616a6f43b2d2a5 (diff)
fixes #4451 (ICQ: при удалении контакта история с сервера не удаляется)
Diffstat (limited to 'protocols/Telegram/src/proto.cpp')
-rw-r--r--protocols/Telegram/src/proto.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp
index 5c3316484b..b1bc3b6c6f 100644
--- a/protocols/Telegram/src/proto.cpp
+++ b/protocols/Telegram/src/proto.cpp
@@ -135,9 +135,6 @@ bool CTelegramProto::OnContactDeleted(MCONTACT hContact, uint32_t flags)
pUser->wszLastName = getMStringW(hContact, "LastName");
}
- if (flags & CDF_DEL_HISTORY)
- SvcEmptyServerHistory(hContact, flags);
-
if (flags & CDF_DEL_CONTACT) {
TD::array<TD::int53> ids;
ids.push_back(id);