summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-03-02 16:57:18 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-03-02 16:57:18 +0300
commitf397526e5fd1d53956caeb97a6178d3449c8c648 (patch)
treeee9e36dce8eb238b19252c4449309c474f3d0f83 /protocols/Telegram/src/proto.cpp
parent0de237405acf0a5e26ab6cfddd875338c1e8acd0 (diff)
fixes #4892 (Telegram: добавить показ информации "О себе")
Diffstat (limited to 'protocols/Telegram/src/proto.cpp')
-rw-r--r--protocols/Telegram/src/proto.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp
index 627b00c228..3732e1a5e5 100644
--- a/protocols/Telegram/src/proto.cpp
+++ b/protocols/Telegram/src/proto.cpp
@@ -183,6 +183,8 @@ void CTelegramProto::OnModulesLoaded()
{
InitPopups();
+ HookProtoEvent(ME_USERINFO_INITIALISE, &CTelegramProto::OnUserInfoInit);
+
m_bSmileyAdd = ServiceExists(MS_SMILEYADD_REPLACESMILEYS);
if (m_bSmileyAdd)
SmileyAdd_LoadContactSmileys(SMADD_FOLDER, m_szModuleName, GetAvatarPath() + L"\\Stickers\\*.*");