aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-02-10 20:52:59 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-02-10 20:52:59 +0800
commit88efb8a4070d91d833186906a4099b445c60975d (patch)
treef5889a0caeb411efa61a65f81bb3ccfe150c341f /libempathy
parent4ad6fc78ed716407f37e6940419c53cb2d1e0128 (diff)
downloadgsoc2013-empathy-88efb8a4070d91d833186906a4099b445c60975d.tar
gsoc2013-empathy-88efb8a4070d91d833186906a4099b445c60975d.tar.gz
gsoc2013-empathy-88efb8a4070d91d833186906a4099b445c60975d.tar.bz2
gsoc2013-empathy-88efb8a4070d91d833186906a4099b445c60975d.tar.lz
gsoc2013-empathy-88efb8a4070d91d833186906a4099b445c60975d.tar.xz
gsoc2013-empathy-88efb8a4070d91d833186906a4099b445c60975d.tar.zst
gsoc2013-empathy-88efb8a4070d91d833186906a4099b445c60975d.zip
EmpathyTpContactFactory: If the presence dict doesn't contain a presence-message set the presence message to NULL
svn path=/trunk/; revision=620
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-contact-factory.c2
1 files changed, 2 insertions, 0 deletions
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);
}
}