aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-filter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-filter.c b/src/empathy-filter.c
index e256502e2..888aff6e3 100644
--- a/src/empathy-filter.c
+++ b/src/empathy-filter.c
@@ -659,7 +659,8 @@ filter_conection_new_channel_cb (TpConnection *connection,
}
else if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_CONTACT_LIST)) {
func = filter_contact_list_handle_channel;
- } if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_TUBES)) {
+ }
+ else if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_TUBES)) {
func = filter_tubes_handle_channel;
} else {
empathy_debug (DEBUG_DOMAIN, "Unknown channel type %s",