diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-26 16:00:06 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-26 16:00:06 +0300 |
commit | be005fdd7a3a801ec698dc211cd2e0dd80030fb6 (patch) | |
tree | 2dd21c735e55845e2c86d0b1a51d5de3206281dc /protocols/Facebook/src/proto.cpp | |
parent | ba5a0a06e1ed5b0dc3e330dbb939f13a6651b750 (diff) |
SmileyAdd_LoadContactSmileys - helper function for adding custom smileys
Diffstat (limited to 'protocols/Facebook/src/proto.cpp')
-rw-r--r-- | protocols/Facebook/src/proto.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/Facebook/src/proto.cpp b/protocols/Facebook/src/proto.cpp index 6f3209fe02..30f0d7163f 100644 --- a/protocols/Facebook/src/proto.cpp +++ b/protocols/Facebook/src/proto.cpp @@ -137,12 +137,10 @@ void FacebookProto::OnModulesLoaded() VARSW wszCache(L"%miranda_avatarcache%");
CMStringW wszPath(FORMAT, L"%s\\%S\\Stickers\\*.png", wszCache.get(), m_szModuleName);
- SMADD_CONT cont = { SMADD_FOLDER, m_szModuleName, wszPath };
- CallService(MS_SMILEYADD_LOADCONTACTSMILEYS, 0, LPARAM(&cont));
+ SmileyAdd_LoadContactSmileys(SMADD_FOLDER, m_szModuleName, wszPath);
wszPath.Format(L"%s\\%S\\Stickers\\*.webp", wszCache.get(), m_szModuleName);
- cont.path = wszPath;
- CallService(MS_SMILEYADD_LOADCONTACTSMILEYS, 0, LPARAM(&cont));
+ SmileyAdd_LoadContactSmileys(SMADD_FOLDER, m_szModuleName, wszPath);
// contacts cache
for (auto &cc : AccContacts()) {
|