diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-07 14:47:07 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-07 14:47:07 +0300 |
commit | b8c4e0bc7ce124963c8694be67dcafeb702a1785 (patch) | |
tree | f5d81c3ea7d94246c81b32895158f5ad576c5479 /protocols/Telegram | |
parent | 3d39b76a3845c6096b6f19bdaa0aff5aec9158f1 (diff) |
Telegram: history is removed from my personal cloud even if it's not specidied
Diffstat (limited to 'protocols/Telegram')
-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 2c5e515a2f..f28ff289a1 100644 --- a/protocols/Telegram/src/proto.cpp +++ b/protocols/Telegram/src/proto.cpp @@ -218,7 +218,7 @@ void CTelegramProto::OnErase() void CTelegramProto::OnEventDeleted(MCONTACT hContact, MEVENT hDbEvent, int flags) { - if (!hContact || (flags & CDF_FROM_SERVER) != 0) + if (!hContact || !(flags & CDF_DEL_HISTORY)) return; auto *pUser = FindUser(GetId(hContact)); |