aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}
}