aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-import-utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy-import-utils.c b/src/empathy-import-utils.c
index 7e69d6235..bf7f29e3b 100644
--- a/src/empathy-import-utils.c
+++ b/src/empathy-import-utils.c
@@ -96,6 +96,10 @@ empathy_import_protocol_is_supported (const gchar *protocol,
if (tp_connection_manager_has_protocol (tp_cm,
(const gchar*) protocol))
{
+ if (!tp_strdiff (protocol, "irc")
+ && !tp_strdiff (tp_cm->name, "haze"))
+ continue;
+
if (!proto_is_supported)
{
*cm = tp_cm;