aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-16 20:24:44 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-16 20:24:44 +0800
commit740606d5b26cb4c7969157ed88891802f10fdc79 (patch)
treebe6ed2dfa5d46dca8ba0d844a835f91545a18503 /libempathy-gtk
parent35f5964936bc0f13e145d80d6bd942d229e85c26 (diff)
downloadgsoc2013-empathy-740606d5b26cb4c7969157ed88891802f10fdc79.tar
gsoc2013-empathy-740606d5b26cb4c7969157ed88891802f10fdc79.tar.gz
gsoc2013-empathy-740606d5b26cb4c7969157ed88891802f10fdc79.tar.bz2
gsoc2013-empathy-740606d5b26cb4c7969157ed88891802f10fdc79.tar.lz
gsoc2013-empathy-740606d5b26cb4c7969157ed88891802f10fdc79.tar.xz
gsoc2013-empathy-740606d5b26cb4c7969157ed88891802f10fdc79.tar.zst
gsoc2013-empathy-740606d5b26cb4c7969157ed88891802f10fdc79.zip
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
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-list-store.c2
1 files changed, 1 insertions, 1 deletions
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;
}