diff options
author | George Hazan <ghazan@miranda.im> | 2020-08-18 18:09:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-08-18 18:09:03 +0300 |
commit | 0dbba78f4fb4a05945be5aab0848c01881b8ac12 (patch) | |
tree | 22202337f33799f5aef325ac24bae201f724e939 /plugins/TabSRMM/src | |
parent | 5793d48b5574e234397f6cb7a96997342ba44ac0 (diff) |
SmileyAdd:
- fixes #2545 (SmileyAdd: missing assigned per-contact smileys categories);
- unused service MS_SMILEYADD_SHOWSELECTION removed;
- name conflict resolution;
- version bump;
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/utils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp index 10e8087c25..e1e80bfab6 100644 --- a/plugins/TabSRMM/src/utils.cpp +++ b/plugins/TabSRMM/src/utils.cpp @@ -186,11 +186,12 @@ ok: if (PluginConfig.g_SmileyAddAvail && (endmark > (beginmark + 1))) {
CMStringW smcode = msg.Mid(beginmark, (endmark - beginmark) + 1);
- SMADD_BATCHPARSE2 smbp = { 0 };
+ SMADD_BATCHPARSE2 smbp = {};
smbp.cbSize = sizeof(smbp);
smbp.Protocolname = m_cache->getActiveProto();
smbp.flag = SAFL_TCHAR | SAFL_PATH | (isSent ? SAFL_OUTGOING : 0);
smbp.str = (wchar_t*)smcode.c_str();
+ smbp.hContact = m_hContact;
SMADD_BATCHPARSERES *smbpr = (SMADD_BATCHPARSERES *)CallService(MS_SMILEYADD_BATCHPARSE, 0, (LPARAM)&smbp);
if (smbpr) {
|