summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-26 15:26:46 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-26 15:26:46 +0300
commit53452cdfd0f64b78eb91d80f2a266ecdcc4953c0 (patch)
tree5de6cf2c5af039f4e2cc64ee01bfed99647ec399 /protocols/Telegram/src/proto.cpp
parentdcc996f1eee938ef6acf6895708f519951c84933 (diff)
code simplification + cleaning
Diffstat (limited to 'protocols/Telegram/src/proto.cpp')
-rw-r--r--protocols/Telegram/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp
index 4f62a300a0..61ecf9c132 100644
--- a/protocols/Telegram/src/proto.cpp
+++ b/protocols/Telegram/src/proto.cpp
@@ -153,7 +153,7 @@ void CTelegramProto::OnModulesLoaded()
m_bSmileyAdd = ServiceExists(MS_SMILEYADD_LOADCONTACTSMILEYS);
if (m_bSmileyAdd) {
CMStringW wszStickersPath(GetAvatarPath() + L"\\Stickers\\*.*");
- SMADD_CONT cont = {2, m_szModuleName, wszStickersPath};
+ SMADD_CONT cont = { SMADD_FOLDER, m_szModuleName, wszStickersPath };
CallService(MS_SMILEYADD_LOADCONTACTSMILEYS, 0, LPARAM(&cont));
}
}