[telepathy-gabble/master] tube_stream: query SOCKS5 proxy when creating an incoming tube

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu Nov 26 07:30:57 PST 2009


We'll need proxies when we'll accept the tube.
---
 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 9aedd5f..de9bf4f 100644
--- a/src/tube-stream.c
+++ b/src/tube-stream.c
@@ -1516,6 +1516,10 @@ gabble_tube_stream_constructor (GType type,
   else
     {
       priv->state = TP_TUBE_CHANNEL_STATE_LOCAL_PENDING;
+
+      /* We'll need SOCKS5 proxies if the tube is accepted */
+      gabble_bytestream_factory_query_socks5_proxies (
+          priv->conn->bytestream_factory);
     }
 
   if (priv->handle_type == TP_HANDLE_TYPE_CONTACT)
-- 
1.5.6.5




More information about the telepathy-commits mailing list