summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src/handlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/GTalkExt/src/handlers.cpp')
-rw-r--r--protocols/GTalkExt/src/handlers.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/GTalkExt/src/handlers.cpp b/protocols/GTalkExt/src/handlers.cpp
index 9004715531..0587df041b 100644
--- a/protocols/GTalkExt/src/handlers.cpp
+++ b/protocols/GTalkExt/src/handlers.cpp
@@ -357,6 +357,8 @@ BOOL SendHandler(IJabberInterface *ji, HXML node, void *pUserData)
}
/////////////////////////////////////////////////////////////////////////////////////////
+// for our pseudo contact only our own popups are allowed
+// 0 = allowed, 1 = disallowed
int OnFilterPopup(WPARAM wParam, LPARAM lParam)
{
@@ -364,7 +366,7 @@ int OnFilterPopup(WPARAM wParam, LPARAM lParam)
if ( !db_get_b(hContact, SHORT_PLUGIN_NAME, PSEUDOCONTACT_FLAG, 0))
return 0;
- return (lParam == (LPARAM)&PopupProc);
+ return (lParam != (LPARAM)&PopupProc);
}
/////////////////////////////////////////////////////////////////////////////////////////