core, memory, plugins, stdui, frontends: look for DNS SRV records when server is not specified:
- fix bug 3
- modify "Connection" params:
- rename "Server" to "Force server" and "Port" to "Force port"
- set the default value to empty string for both
This commit is contained in:
parent
0cbc88ac39
commit
d4eff5b99c
1 changed files with 26 additions and 19 deletions
|
|
@ -192,7 +192,7 @@ 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("Server", self.getConfig('new_account_server'),
|
||||
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