[empathy] If presence message is "", get the default message.
- From: Xavier Claessens <xclaesse src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] If presence message is "", get the default message.
- Date: Wed, 22 Apr 2009 06:26:35 -0400 (EDT)
commit 28c28af87c8973cb60b925dcc2c547b7b00ed76a
Author: Xavier Claessens <xclaesse gmail com>
Date: Tue Feb 17 16:44:16 2009 +0100
If presence message is "", get the default message.
---
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 d248b2d..4edc4a3 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 (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]