diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-16 20:24:44 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-16 20:24:44 +0800 |
commit | 740606d5b26cb4c7969157ed88891802f10fdc79 (patch) | |
tree | be6ed2dfa5d46dca8ba0d844a835f91545a18503 | |
parent | 35f5964936bc0f13e145d80d6bd942d229e85c26 (diff) | |
download | gsoc2013-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
-rw-r--r-- | libempathy-gtk/empathy-contact-list-store.c | 2 |
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; } |