diff options
Diffstat (limited to 'protocols/Telegram/src/proto.cpp')
-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)); |