summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQ-WIM/src/utils.cpp')
-rw-r--r--protocols/ICQ-WIM/src/utils.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/utils.cpp b/protocols/ICQ-WIM/src/utils.cpp
index 3f5cefb9a5..786c4679f2 100644
--- a/protocols/ICQ-WIM/src/utils.cpp
+++ b/protocols/ICQ-WIM/src/utils.cpp
@@ -369,9 +369,10 @@ void CIcqProto::EmailNotification(const wchar_t *pwszText)
return;
CLISTEVENT cle = {};
- cle.hDbEvent = 1;
+ cle.hDbEvent = ICQ_FAKE_EVENT_ID;
+ cle.moduleName = m_szModuleName;
cle.hIcon = IcoLib_GetIconByHandle(iconList[0].hIcolib);
- cle.flags = CLEF_UNICODE;
+ cle.flags = CLEF_UNICODE | CLEF_PROTOCOLGLOBAL;
cle.pszService = szServiceFunction;
cle.szTooltip.w = pwszText;
g_clistApi.pfnAddEvent(&cle);