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)
This commit is contained in:
parent
d4eff5b99c
commit
83ed5f319c
1 changed files with 20 additions and 26 deletions
|
|
@ -192,8 +192,6 @@ class MiscAccount(object):
|
|||
#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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue