diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-02-17 23:44:16 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-04-22 18:21:11 +0800 |
commit | 28c28af87c8973cb60b925dcc2c547b7b00ed76a (patch) | |
tree | 68be14275e9d05a2062d774600cd8a4ea17378a9 | |
parent | d928bb812f1772246b0c2f5bf4b0b9809bb4e9af (diff) | |
download | gsoc2013-empathy-28c28af87c8973cb60b925dcc2c547b7b00ed76a.tar gsoc2013-empathy-28c28af87c8973cb60b925dcc2c547b7b00ed76a.tar.gz gsoc2013-empathy-28c28af87c8973cb60b925dcc2c547b7b00ed76a.tar.bz2 gsoc2013-empathy-28c28af87c8973cb60b925dcc2c547b7b00ed76a.tar.lz gsoc2013-empathy-28c28af87c8973cb60b925dcc2c547b7b00ed76a.tar.xz gsoc2013-empathy-28c28af87c8973cb60b925dcc2c547b7b00ed76a.tar.zst gsoc2013-empathy-28c28af87c8973cb60b925dcc2c547b7b00ed76a.zip |
If presence message is "", get the default message.
-rw-r--r-- | libempathy/empathy-contact.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index d248b2dd7..4edc4a308 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -768,7 +768,7 @@ empathy_contact_get_status (EmpathyContact *contact) g_return_val_if_fail (EMPATHY_IS_CONTACT (contact), ""); message = empathy_contact_get_presence_message (contact); - if (message) + if (!EMP_STR_EMPTY (message)) return message; return empathy_presence_get_default_message ( |