diff options
author | George Hazan <george.hazan@gmail.com> | 2024-06-17 12:17:44 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-06-17 12:17:44 +0300 |
commit | a228b0e44e9da5c5ef2f871f0cce63a4e8ae18ac (patch) | |
tree | 2a45928340873b2fbec55501ca4803ac36a45037 /protocols/Telegram/src/proto.cpp | |
parent | 9aee9deca972b405a09033456ec2f270eea96cd3 (diff) |
fixes #4466 (Telegram: при очистке истории канала нужно блокировать опции про удаление истории с сервера)
Diffstat (limited to 'protocols/Telegram/src/proto.cpp')
-rw-r--r-- | protocols/Telegram/src/proto.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp index b1bc3b6c6f..f321758700 100644 --- a/protocols/Telegram/src/proto.cpp +++ b/protocols/Telegram/src/proto.cpp @@ -66,6 +66,7 @@ CTelegramProto::CTelegramProto(const char* protoName, const wchar_t* userName) : CreateProtoService(PS_SETMYAVATAR, &CTelegramProto::SvcSetMyAvatar); CreateProtoService(PS_MENU_LOADHISTORY, &CTelegramProto::SvcLoadServerHistory); + CreateProtoService(PS_CAN_EMPTY_HISTORY, &CTelegramProto::SvcCanEmptyHistory); CreateProtoService(PS_EMPTY_SRV_HISTORY, &CTelegramProto::SvcEmptyServerHistory); HookProtoEvent(ME_OPT_INITIALISE, &CTelegramProto::OnOptionsInit); |