From 8aa669fbc78ce229f45105df09ac25a2df8b8eff Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Mar 2013 09:06:37 +0000 Subject: Google contact removed from clist git-svn-id: http://svn.miranda-ng.org/main/trunk@4185 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/GTalkExt/src/handlers.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'protocols/GTalkExt/src/handlers.cpp') diff --git a/protocols/GTalkExt/src/handlers.cpp b/protocols/GTalkExt/src/handlers.cpp index 422f627973..3b48137b3c 100644 --- a/protocols/GTalkExt/src/handlers.cpp +++ b/protocols/GTalkExt/src/handlers.cpp @@ -136,12 +136,11 @@ BOOL InternalListHandler(IJabberInterface *ji, HXML node, LPCTSTR jid, LPCTSTR m } LPCSTR acc = GetJidAcc(jid); - if (!acc) return FALSE; + if (!acc) + return FALSE; - if (!unreadCount) { - SetupPseudocontact(jid, xi.getAttrValue(node, ATTRNAME_TOTAL_MATCHED), acc); + if (!unreadCount) return TRUE; - } DWORD settings = ReadNotificationSettings(acc); @@ -415,8 +414,6 @@ int AccListChanged(WPARAM wParam, LPARAM lParam) int ModulesLoaded(WPARAM wParam, LPARAM lParam) { - RenewPseudocontactHandles(); - int count; PROTOACCOUNT **protos; ProtoEnumAccounts(&count, &protos); @@ -428,4 +425,4 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) HookOptionsInitialization(); return 0; -} \ No newline at end of file +} -- cgit v1.2.3