From a1284729b31119dc50d95f73e2ffe7fed4a20ac8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 23 Mar 2023 19:24:19 +0300 Subject: chat serialization --- protocols/Telegram/src/proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Telegram/src') 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); -- cgit v1.2.3