summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-09-22 17:48:20 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-09-22 17:48:20 +0300
commitf046b1e4f64b22acd88787e56f6ca41ec7954af2 (patch)
tree4835bd5fa89fcd993ab6041c0044bcdbe6ae17c2 /protocols/Telegram/src
parent1fec25086d0ed9c744fa092747e9019214e46f9f (diff)
Fixes #4690 (CloudFile: пункт отправки отсутствует в контекстном меню контакта Telegram, если контакт не в сети)
Diffstat (limited to 'protocols/Telegram/src')
-rw-r--r--protocols/Telegram/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp
index 7d552efe27..714796a3e4 100644
--- a/protocols/Telegram/src/proto.cpp
+++ b/protocols/Telegram/src/proto.cpp
@@ -349,7 +349,7 @@ INT_PTR CTelegramProto::GetCaps(int type, MCONTACT hContact)
case PFLAGNUM_4:
ret = PF4_NOCUSTOMAUTH | PF4_FORCEAUTH | PF4_OFFLINEFILES | PF4_NOAUTHDENYREASON | PF4_SUPPORTTYPING | PF4_AVATARS
- | PF4_SERVERMSGID | PF4_REPLY | PF4_GROUPCHATFILES;
+ | PF4_SERVERMSGID | PF4_REPLY | PF4_GROUPCHATFILES | PF4_IMSENDOFFLINE;
if (GetId(hContact) != m_iOwnId)
ret |= PF4_DELETEFORALL;
return ret;