summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/protocol.c12
2 files changed, 13 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6cad97e..49c279a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,7 +85,7 @@ PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.51, dbus-glib-1 >= 0.51])
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
-PKG_CHECK_MODULES(TELEPATHY, [telepathy-glib >= 0.11.3])
+PKG_CHECK_MODULES(TELEPATHY, [telepathy-glib >= 0.13.9])
AC_SUBST(TELEPATHY_CFLAGS)
AC_SUBST(TELEPATHY_LIBS)
diff --git a/src/protocol.c b/src/protocol.c
index 9cda5dd..1863f1e 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -186,6 +186,17 @@ get_connection_details (TpBaseProtocol *self,
}
}
+static GStrv
+dup_authentication_types (TpBaseProtocol *base)
+{
+ const gchar * const types[] = {
+ TP_IFACE_CHANNEL_INTERFACE_SASL_AUTHENTICATION,
+ NULL,
+ };
+
+ return g_strdupv ((GStrv) types);
+}
+
static void
idle_protocol_class_init (IdleProtocolClass *klass)
{
@@ -197,6 +208,7 @@ idle_protocol_class_init (IdleProtocolClass *klass)
base_class->identify_account = identify_account;
base_class->get_interfaces = get_interfaces;
base_class->get_connection_details = get_connection_details;
+ base_class->dup_authentication_types = dup_authentication_types;
}
TpBaseProtocol *