]> git.0d.be Git - empathy.git/commitdiff
Add a contact in the roster as soon as it has a name, don't wait for the ID. Fixes...
authorXavier Claessens <xclaesse@src.gnome.org>
Wed, 16 Apr 2008 12:24:44 +0000 (12:24 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Wed, 16 Apr 2008 12:24:44 +0000 (12:24 +0000)
svn path=/trunk/; revision=955

libempathy-gtk/empathy-contact-list-store.c

index 7074cee80142630217fb1e5085229bd7e6a99857..5d74be73b51289e90f01adcd4296daf5ea7be615 100644 (file)
@@ -857,7 +857,7 @@ contact_list_store_add_contact (EmpathyContactListStore *store,
 
        priv = GET_PRIV (store);
        
-       if (!(empathy_contact_get_ready (contact) & EMPATHY_CONTACT_READY_ID) ||
+       if (G_STR_EMPTY (empathy_contact_get_name (contact)) ||
            (!priv->show_offline && !empathy_contact_is_online (contact))) {
                return;
        }