summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-21 12:14:51 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-21 12:14:51 +0300
commit176cbd229f87889d2467269e8f0c7a290e073e0b (patch)
tree895803fd87a9610311dca2c7b4e400650b6673d2 /protocols
parent2827fd4f5ff84d50e3c490248e145d3762e1f901 (diff)
fixes #3942 (Telegram: невозможно отправить файл оффлайн-контакту перетаскиванием в поле ввода)
Diffstat (limited to 'protocols')
-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 f04e16f4e1..6997ff8374 100644
--- a/protocols/Telegram/src/proto.cpp
+++ b/protocols/Telegram/src/proto.cpp
@@ -321,7 +321,7 @@ INT_PTR CTelegramProto::GetCaps(int type, MCONTACT)
return PF2_ONLINE | PF2_SHORTAWAY | PF2_LONGAWAY;
case PFLAGNUM_4:
- return PF4_NOCUSTOMAUTH | PF4_FORCEAUTH | PF4_NOAUTHDENYREASON | PF4_SUPPORTTYPING | PF4_AVATARS | PF4_SERVERMSGID;
+ return PF4_NOCUSTOMAUTH | PF4_FORCEAUTH | PF4_OFFLINEFILES | PF4_NOAUTHDENYREASON | PF4_SUPPORTTYPING | PF4_AVATARS | PF4_SERVERMSGID;
case PFLAGNUM_5:
return PF2_SHORTAWAY | PF2_LONGAWAY;