aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-status-icon.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-status-icon.c')
-rw-r--r--libempathy-gtk/empathy-status-icon.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-status-icon.c b/libempathy-gtk/empathy-status-icon.c
index 654cbd50d..1ec1a21a5 100644
--- a/libempathy-gtk/empathy-status-icon.c
+++ b/libempathy-gtk/empathy-status-icon.c
@@ -259,9 +259,11 @@ status_icon_filter_new_channel (EmpathyFilter *filter,
priv = GET_PRIV (icon);
- empathy_debug (DEBUG_DOMAIN, "New text channel to be filtered");
-
account = mission_control_get_account_for_connection (priv->mc, tp_conn, NULL);
+
+ empathy_debug (DEBUG_DOMAIN, "New text channel to be filtered for contact %s",
+ empathy_inspect_channel (account, tp_chan));
+
tp_chat = empathy_tp_chat_new (account, tp_chan);
g_object_set_data (G_OBJECT (tp_chat), "filter", filter);
g_object_unref (account);