From 740606d5b26cb4c7969157ed88891802f10fdc79 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 16 Apr 2008 12:24:44 +0000 Subject: Add a contact in the roster as soon as it has a name, don't wait for the ID. Fixes bug #528287. svn path=/trunk/; revision=955 --- libempathy-gtk/empathy-contact-list-store.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c index 7074cee80..5d74be73b 100644 --- a/libempathy-gtk/empathy-contact-list-store.c +++ b/libempathy-gtk/empathy-contact-list-store.c @@ -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; } -- cgit v1.2.3