aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-server-sasl-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-server-sasl-handler.c')
-rw-r--r--libempathy/empathy-server-sasl-handler.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libempathy/empathy-server-sasl-handler.c b/libempathy/empathy-server-sasl-handler.c
index a92b2b220..e28aec99e 100644
--- a/libempathy/empathy-server-sasl-handler.c
+++ b/libempathy/empathy-server-sasl-handler.c
@@ -493,6 +493,18 @@ empathy_server_sasl_handler_get_account (EmpathyServerSASLHandler *handler)
return priv->account;
}
+TpChannel *
+empathy_server_sasl_handler_get_channel (EmpathyServerSASLHandler *handler)
+{
+ EmpathyServerSASLHandlerPriv *priv;
+
+ g_return_val_if_fail (EMPATHY_IS_SERVER_SASL_HANDLER (handler), NULL);
+
+ priv = handler->priv;
+
+ return priv->channel;
+}
+
gboolean
empathy_server_sasl_handler_has_password (EmpathyServerSASLHandler *handler)
{