]> git.0d.be Git - empathy.git/commitdiff
EmpathyTpContactFactory: If the presence dict doesn't contain a presence-message...
authorXavier Claessens <xclaesse@src.gnome.org>
Sun, 10 Feb 2008 12:52:59 +0000 (12:52 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Sun, 10 Feb 2008 12:52:59 +0000 (12:52 +0000)
svn path=/trunk/; revision=620

libempathy/empathy-tp-contact-factory.c

index 14d2640da484ef7fd4868ef70088ddc5838b4b51..77482522b35938784f08ddc2a1931d01c837e3b3 100644 (file)
@@ -122,6 +122,8 @@ tp_contact_factory_presences_table_foreach (const gchar    *state_str,
        if (message != NULL) {
                empathy_contact_set_presence_message (contact,
                                                      g_value_get_string (message));
+       } else {
+               empathy_contact_set_presence_message (contact, NULL);
        }
 }