Philipp Hörist pushed to branch gajim_0.16 at gajim / gajim

Commits:
53e55677 by Philipp Hörist at 2017-06-06T21:24:27+02:00
Remove unused or old config values

- - - - -


2 changed files:

- src/common/connection.py
- src/config.py


Changes:

=====================================
src/common/connection.py
=====================================
--- a/src/common/connection.py
+++ b/src/common/connection.py
@@ -1132,7 +1132,7 @@ class Connection(CommonConnection, ConnectionHandlers):
         Start a connection to the Jabber server
 
         Returns connection, and connection type ('tls', 'ssl', 'plain', '') 
data
-        MUST contain hostname, usessl, proxy, use_custom_host, custom_host (if
+        MUST contain hostname, proxy, use_custom_host, custom_host (if
         use_custom_host), custom_port (if use_custom_host)
         """
         if self.connection:
@@ -1164,7 +1164,6 @@ class Connection(CommonConnection, ConnectionHandlers):
                 custom_p = data['custom_port']
         else:
             hostname = gajim.config.get_per('accounts', self.name, 'hostname')
-            usessl = gajim.config.get_per('accounts', self.name, 'usessl')
             self.try_connecting_for_foo_secs = gajim.config.get_per('accounts',
                     self.name, 'try_connecting_for_foo_secs')
             proxy = helpers.get_proxy_info(self.name)


=====================================
src/config.py
=====================================
--- a/src/config.py
+++ b/src/config.py
@@ -4017,14 +4017,12 @@ class AccountCreationWizardWindow:
         config['hostname'] = server
         config['savepass'] = savepass
         config['password'] = password
-        config['resource'] = 'Gajim'
         config['anonymous_auth'] = anonymous
         config['priority'] = 5
         config['autoconnect'] = True
         config['no_log_for'] = ''
         config['sync_with_global_status'] = True
         config['proxy'] = ''
-        config['usessl'] = False
         config['use_custom_host'] = False
         config['custom_port'] = 0
         config['custom_host'] = ''



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/53e556774fbad7d5b1a3e0679ebe806324d3a1e2
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to