From 88efb8a4070d91d833186906a4099b445c60975d Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sun, 10 Feb 2008 12:52:59 +0000 Subject: EmpathyTpContactFactory: If the presence dict doesn't contain a presence-message set the presence message to NULL svn path=/trunk/; revision=620 --- libempathy/empathy-tp-contact-factory.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c index 14d2640da..77482522b 100644 --- a/libempathy/empathy-tp-contact-factory.c +++ b/libempathy/empathy-tp-contact-factory.c @@ -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); } } -- cgit v1.2.3