handle ft_send_local_ips option with jingle FT

This commit is contained in:
Yann Leboulanger 2012-06-14 19:46:17 +02:00
parent 503c7dc515
commit 0493997a24
1 changed files with 7 additions and 4 deletions

View File

@ -168,6 +168,9 @@ class JingleTransportSocks5(JingleTransport):
self.candidates.append(cand)
def _add_local_ips_as_candidates(self):
if not gajim.config.get_per('accounts', self.connection.name,
'ft_send_local_ips'):
return
if not self.connection:
return
local_ip_cand = []