[telepathy-gabble/master] Don't hide contacts with gr:alias-for

Will Thompson will.thompson at collabora.co.uk
Mon Jul 20 12:11:45 PDT 2009


Jonny Lamb has two JIDs on his Google account: his real JID, and his
gmail address. Google says that the first is an alias for the second,
but I'm actually subscribed to the first (and it's the one he uses).

I don't think hiding roster items with alias-for set is necessary.  We
hide Google roster items with subscription="none", which should catch
roster items which aren't real JIDs.
---
 src/roster.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/roster.c b/src/roster.c
index a89a86f..34556f4 100644
--- a/src/roster.c
+++ b/src/roster.c
@@ -448,13 +448,6 @@ _google_roster_item_should_keep (const gchar *jid,
       return FALSE;
     }
 
-  /* skip email addresses that replied to an invite */
-  if (item->alias_for != NULL)
-    {
-      DEBUG ("hiding %s: alias-for is set to %s", jid, item->alias_for);
-      return FALSE;
-    }
-
   /* allow items that we've requested a subscription from */
   if (item->ask_subscribe)
     return TRUE;
-- 
1.5.6.5




More information about the telepathy-commits mailing list