aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-account-assistant.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 7a5f176cd..b7c5b28ed 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -21,6 +21,7 @@
/* empathy-account-assistant.c */
#include <glib/gi18n.h>
+#include <telepathy-glib/util.h>
#include "empathy-account-assistant.h"
@@ -194,7 +195,10 @@ account_assistant_chooser_enter_details_filter_func (
TpConnectionManagerProtocol *protocol,
gpointer user_data)
{
- /* TODO */
+ if (!tp_strdiff (protocol->name, "local-xmpp") ||
+ !tp_strdiff (protocol->name, "irc"))
+ return FALSE;
+
return TRUE;
}