diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-24 21:01:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-24 21:01:32 +0000 |
commit | 8a8525df12d837ed3626f866d6f981c77597aa2b (patch) | |
tree | b4d60300aaa0e8fdb527c743e0ba20cd96822ae5 | |
parent | 0aefd54a58157eb6272fea9018a63e7cf39d5cf2 (diff) |
oops... missed some logic
git-svn-id: http://svn.miranda-ng.org/main/trunk@6220 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/GTalkExt/src/handlers.cpp | 4 |
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);
}
/////////////////////////////////////////////////////////////////////////////////////////
|