diff options
author | George Hazan <ghazan@miranda.im> | 2022-12-19 21:53:22 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-12-19 21:53:22 +0300 |
commit | d78fdd24a3f26f928a55f527e0bfbfc5fa069d55 (patch) | |
tree | 986ef11cc22add13f538b08c34fd862e5212571e /protocols/Telegram/src/mt_proto.cpp | |
parent | 77a1f91e61f6d63591ec06db9ff2b3ef54af832f (diff) |
Telegram: simple text message reading
Diffstat (limited to 'protocols/Telegram/src/mt_proto.cpp')
-rw-r--r-- | protocols/Telegram/src/mt_proto.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |