summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/mt_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-12-19 21:53:22 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-12-19 21:53:22 +0300
commitd78fdd24a3f26f928a55f527e0bfbfc5fa069d55 (patch)
tree986ef11cc22add13f538b08c34fd862e5212571e /protocols/Telegram/src/mt_proto.cpp
parent77a1f91e61f6d63591ec06db9ff2b3ef54af832f (diff)
Telegram: simple text message reading
Diffstat (limited to 'protocols/Telegram/src/mt_proto.cpp')
-rw-r--r--protocols/Telegram/src/mt_proto.cpp1
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);