From f397526e5fd1d53956caeb97a6178d3449c8c648 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 2 Mar 2025 16:57:18 +0300 Subject: =?UTF-8?q?fixes=20#4892=20(Telegram:=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=82=D1=8C=20=D0=BF=D0=BE=D0=BA=D0=B0=D0=B7=20?= =?UTF-8?q?=D0=B8=D0=BD=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=86=D0=B8=D0=B8=20?= =?UTF-8?q?"=D0=9E=20=D1=81=D0=B5=D0=B1=D0=B5")?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Telegram/src/proto.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols/Telegram/src/proto.cpp') 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\\*.*"); -- cgit v1.2.3