]> git.0d.be Git - empathy.git/commitdiff
add empathy_server_sasl_handler_get_channel()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 18 Mar 2011 10:42:24 +0000 (11:42 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 18 Mar 2011 12:47:53 +0000 (13:47 +0100)
libempathy/empathy-server-sasl-handler.c
libempathy/empathy-server-sasl-handler.h

index 1583675bce5be2af4767b2a147b629c0cf935b84..8c7fe884723f45f74df5cd1e0331fd80e3276b67 100644 (file)
@@ -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)
 {
index d89a4064f27365655aad903a1fb7f88b831ffff6..94be69b10f2da9fd0cc5e9696d00e8f8ea0565b6 100644 (file)
@@ -74,6 +74,9 @@ void empathy_server_sasl_handler_cancel (EmpathyServerSASLHandler *handler);
 TpAccount * empathy_server_sasl_handler_get_account (
     EmpathyServerSASLHandler *handler);
 
+TpChannel * empathy_server_sasl_handler_get_channel (
+    EmpathyServerSASLHandler *handler);
+
 gboolean empathy_server_sasl_handler_has_password (
     EmpathyServerSASLHandler *handler);