summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert McQueen <robert.mcqueen@collabora.co.uk>2006-10-13 11:58:06 +0000
committerRobert McQueen <robert.mcqueen@collabora.co.uk>2006-10-13 11:58:06 +0000
commit8d60c4cca5c791adbb6d45644b20168759f560ac (patch)
treec199248479949f68b48e1c8e12413894df968d64
parent86a0f44178cfe2cbcfea2fadf1a3c5c8b5c0a0e9 (diff)
GabbleRoster: ignore google hidden roster items, they're not JIDs but e-mail address book entries
-rw-r--r--src/roster.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/roster.c b/src/roster.c
index 05f1664c2..961cc110b 100644
--- a/src/roster.c
+++ b/src/roster.c
@@ -838,6 +838,11 @@ gabble_roster_iq_cb (LmMessageHandler *handler,
}
#endif
+ /* skip hidden google roster items, these are usually e-mail
+ * addresses from the address book, not actually JIDs! */
+ if (item->google_type == GOOGLE_ITEM_TYPE_HIDDEN)
+ continue;
+
/* handle publish list changes */
switch (item->subscription)
{