summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/src/proto.cpp')
-rw-r--r--protocols/Telegram/src/proto.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp
index a07932b3d4..11bed96d85 100644
--- a/protocols/Telegram/src/proto.cpp
+++ b/protocols/Telegram/src/proto.cpp
@@ -68,6 +68,9 @@ CTelegramProto::CTelegramProto(const char* protoName, const wchar_t* userName) :
// default contacts group
m_iBaseGroup = Clist_GroupCreate(0, m_wszDefaultGroup);
+ // Offline file transfer
+ CreateProtoService(PS_OFFLINEFILE, &CTelegramProto::OfflineFile);
+
// create standard network connection
NETLIBUSER nlu = {};
nlu.flags = NUF_UNICODE;