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.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
+}