summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src/handlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-25 09:06:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-25 09:06:37 +0000
commit8aa669fbc78ce229f45105df09ac25a2df8b8eff (patch)
tree14ea6da3b83456da5f0c421d3b7691415b68093f /protocols/GTalkExt/src/handlers.cpp
parenta881be4206c532a8d7dd1d65fbeed1e1a89e84d2 (diff)
Google contact removed from clist
git-svn-id: http://svn.miranda-ng.org/main/trunk@4185 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/src/handlers.cpp')
-rw-r--r--protocols/GTalkExt/src/handlers.cpp11
1 files changed, 4 insertions, 7 deletions
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
+}