aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-server-sasl-handler.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-18 18:42:24 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-18 20:47:53 +0800
commit37e2773cfddb5ef46d79ccd70593bd16066e6512 (patch)
treea565522fff10f4d6a1ee47c21f25dc5b9d155089 /libempathy/empathy-server-sasl-handler.c
parent2eb0d2db6f945cb72fd9e9a909dd1d95c79e7d02 (diff)
downloadgsoc2013-empathy-37e2773cfddb5ef46d79ccd70593bd16066e6512.tar
gsoc2013-empathy-37e2773cfddb5ef46d79ccd70593bd16066e6512.tar.gz
gsoc2013-empathy-37e2773cfddb5ef46d79ccd70593bd16066e6512.tar.bz2
gsoc2013-empathy-37e2773cfddb5ef46d79ccd70593bd16066e6512.tar.lz
gsoc2013-empathy-37e2773cfddb5ef46d79ccd70593bd16066e6512.tar.xz
gsoc2013-empathy-37e2773cfddb5ef46d79ccd70593bd16066e6512.tar.zst
gsoc2013-empathy-37e2773cfddb5ef46d79ccd70593bd16066e6512.zip
add empathy_server_sasl_handler_get_channel()
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 1583675bc..8c7fe8847 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)
{