From 8a8525df12d837ed3626f866d6f981c77597aa2b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 24 Sep 2013 21:01:32 +0000 Subject: oops... missed some logic git-svn-id: http://svn.miranda-ng.org/main/trunk@6220 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/GTalkExt/src/handlers.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'protocols') 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); } ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3