From 64ac6b9103a899394f4cccb0f68184d865b9165c Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 26 Nov 2009 15:30:57 +0000 Subject: tube_stream: query SOCKS5 proxy when creating an incoming tube We'll need proxies when we'll accept the tube. --- src/tube-stream.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/tube-stream.c b/src/tube-stream.c index 9aedd5f98..de9bf4fb0 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) -- cgit v1.2.3