summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-23 19:24:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-23 19:24:19 +0300
commita1284729b31119dc50d95f73e2ffe7fed4a20ac8 (patch)
treea657e9c43b4cf4e79c7ae4ada525b3c35996e541 /protocols/Telegram/src
parent94250c7e15a5f10628ecd405d64605189d4afffc (diff)
chat serialization
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 090619cc5d..586d27feb9 100644
--- a/protocols/Telegram/src/proto.cpp
+++ b/protocols/Telegram/src/proto.cpp
@@ -77,7 +77,7 @@ CTelegramProto::CTelegramProto(const char* protoName, const wchar_t* userName) :
// groupchat initialization
GCREGISTER gcr = {};
- gcr.dwFlags = GC_TYPNOTIF | GC_DATABASE;
+ gcr.dwFlags = GC_TYPNOTIF | GC_DATABASE | GC_PERSISTENT;
gcr.ptszDispName = m_tszUserName;
gcr.pszModule = m_szModuleName;
Chat_Register(&gcr);