Commit bc504f90 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Make default proxy always available

If the user had an empty `file_transfer_proxies` config setting
no proxies were used. As we discover the default server proxy ourself the
user should not have to write it to his config setting to make use of it.
parent 30d3f0c2
......@@ -519,9 +519,11 @@ def _get_file_transfer_proxies_from_config(self, file_props):
shall_use_proxies = gajim.config.get_per('accounts',,
if shall_use_proxies and configured_proxies:
if shall_use_proxies:
proxyhost_dicts = []
proxies = [item.strip() for item in configured_proxies.split(',')]
proxies = []
if configured_proxies:
proxies = [item.strip() for item in configured_proxies.split(',')]
default_proxy = gajim.proxy65_manager.get_default_for_name(
if default_proxy:
# add/move default proxy at top of the others
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment