diff src/plugins/plugin_misc_account.py @ 1089:8e0072754413

core, plugins, stdui, frontends: fixes handling of "Force server" and "Force port" parameters: - do not save a "guessed" value, they must stay empty until the user explicitely sets them - add constant XMPP_C2S_PORT (default value 5222)
author souliane <souliane@mailoo.org>
date Mon, 23 Jun 2014 10:23:13 +0200
parents b29452cab50b
children 2d035aaea13b
line wrap: on
line diff
--- a/src/plugins/plugin_misc_account.py	Mon Jun 23 00:44:10 2014 +0200
+++ b/src/plugins/plugin_misc_account.py	Mon Jun 23 10:23:13 2014 +0200
@@ -192,8 +192,6 @@
             #FIXME: values must be in a config file instead of hardcoded
             self.host.memory.setParam("JabberID", "%s@%s/%s" % (profile, self.getConfig('new_account_domain'), self.getConfig('new_account_resource')),
                                       "Connection", profile_key=profile)
-            self.host.memory.setParam(C.FORCE_SERVER_PARAM, self.getConfig('new_account_server'),
-                                      "Connection", profile_key=profile)
             self.host.memory.setParam("Password", password,
                                       "Connection", profile_key=profile)