aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-filter.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-filter.c b/src/empathy-filter.c
index 3a0834ac6..0b2999b4e 100644
--- a/src/empathy-filter.c
+++ b/src/empathy-filter.c
@@ -785,6 +785,12 @@ filter_connection_list_channels_cb (TpConnection *connection,
{
guint i;
+ if (error) {
+ empathy_debug (DEBUG_DOMAIN, "Error listing channels: %s",
+ error->message);
+ return;
+ }
+
g_object_set_data (G_OBJECT (connection), "had-channels",
GUINT_TO_POINTER (1));