summaryrefslogtreecommitdiff
path: root/message_notify/popups.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'message_notify/popups.cpp')
-rw-r--r--message_notify/popups.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/message_notify/popups.cpp b/message_notify/popups.cpp
index 24c983b..a82cd0d 100644
--- a/message_notify/popups.cpp
+++ b/message_notify/popups.cpp
@@ -139,6 +139,7 @@ void ShowPopup( HANDLE hContact, const char* line1, const char* line2, int flags
POPUPDATACLASS d = {sizeof(d), "messagenotify"};
d.pszTitle = line1;
d.pszText = line2;
+ d.hContact = hContact;
d.PluginData = (void *)hContact;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {
@@ -191,6 +192,7 @@ void ShowPopupW( HANDLE hContact, const wchar_t* line1, const wchar_t* line2, in
POPUPDATACLASS d = {sizeof(d), "messagenotify"};
d.pwszTitle = line1;
d.pwszText = line2;
+ d.hContact = hContact;
d.PluginData = (void *)hContact;
CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&d);
} else {