Skip to content
Snippets Groups Projects
Commit 7fb0405e authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

forgot commit: use ft_send_local_ips option. Fixes #7029

parent 9cfc2f4e
No related branches found
No related tags found
No related merge requests found
......@@ -361,6 +361,8 @@ class ConnectionSocks5Bytestream(ConnectionBytestream):
streamhost.setAttr('jid', sender)
def _add_local_ips_as_streamhosts_to_query(self, query, file_props):
if not gajim.config.get_per('accounts', self.name, 'ft_send_local_ips'):
return
try:
my_ips = [self.peerhost[0]] # The ip we're connected to server with
# all IPs from local DNS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment