[Telepathy-commits] [telepathy-gabble/master] Set access control on o.f.T.Channel.Type.StreamTube.AcceptStreamTube.

Alban Crequy alban.crequy at collabora.co.uk
Tue Oct 28 08:07:57 PDT 2008


---
 src/tube-stream.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/tube-stream.c b/src/tube-stream.c
index 0995e45..ae60201 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -2092,6 +2092,10 @@ gabble_tube_stream_accept_stream_tube (GabbleSvcChannelTypeStreamTube *iface,
       return;
     }
 
+  priv->access_control = access_control;
+  g_assert (priv->access_control_param == NULL);
+  priv->access_control_param = tp_g_value_slice_dup (access_control_param);
+
   if (priv->state != GABBLE_TUBE_CHANNEL_STATE_LOCAL_PENDING)
     {
       GError e = { TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
-- 
1.5.6.5




More information about the Telepathy-commits mailing list