summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel-group.c
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-glib/channel-group.c')
-rw-r--r--telepathy-glib/channel-group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/channel-group.c b/telepathy-glib/channel-group.c
index c7f2b07cf..204e39830 100644
--- a/telepathy-glib/channel-group.c
+++ b/telepathy-glib/channel-group.c
@@ -1096,7 +1096,7 @@ handle_members_changed (TpChannel *self,
const gchar *debug_message = tp_asv_get_string (details,
"debug-message");
- if (debug_message == NULL && message[0] != '\0')
+ if (debug_message == NULL && !tp_str_empty (message))
debug_message = message;
if (debug_message == NULL && error_detail != NULL)