fix using FT proxies. Fixes #7382

This commit is contained in:
Yann Leboulanger 2013-07-15 16:03:07 +02:00
parent 1e1367417b
commit 5a59654fea
1 changed files with 1 additions and 1 deletions

View File

@ -726,7 +726,7 @@ class ConnectionSocks5Bytestream(ConnectionBytestream):
port=int(proxy['port']), fingerprint=None,
connected=False, file_props=file_props)
sender.streamhost = proxy
gajim.socks5queue.add_sockobj(self.name, sender, 'sender')
gajim.socks5queue.add_sockobj(self.name, sender)
proxy['idx'] = sender.queue_idx
gajim.socks5queue.on_success[file_props.sid] = self._proxy_auth_ok
raise nbxmpp.NodeProcessed