From d78fdd24a3f26f928a55f527e0bfbfc5fa069d55 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 19 Dec 2022 21:53:22 +0300 Subject: Telegram: simple text message reading --- protocols/Telegram/src/mt_proto.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/Telegram/src/mt_proto.cpp') diff --git a/protocols/Telegram/src/mt_proto.cpp b/protocols/Telegram/src/mt_proto.cpp index 4b7c6fb211..9e0cffd97c 100644 --- a/protocols/Telegram/src/mt_proto.cpp +++ b/protocols/Telegram/src/mt_proto.cpp @@ -19,6 +19,7 @@ CMTProto::CMTProto(const char* protoName, const wchar_t* userName) : m_bHideGroupchats(this, "HideChats", true) { m_iClientId = m_pClientMmanager->create_client_id(); + m_iOwnId = _atoi64(getMStringA(DBKEY_ID)); CreateProtoService(PS_CREATEACCMGRUI, &CMTProto::SvcCreateAccMgrUI); -- cgit v1.2.3