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
|
|
@ -95,7 +95,7 @@ class ProfileCreate(base.CommandBase):
|
|||
|
||||
def _profile_created(self):
|
||||
self.host.bridge.setParam("JabberID", self.args.jid, "Connection" ,profile_key=self.args.profile)
|
||||
self.host.bridge.setParam("Server", JID(self.args.jid).domain, "Connection", profile_key=self.args.profile)
|
||||
self.host.bridge.setParam(C.FORCE_SERVER_PARAM, JID(self.args.jid).domain, "Connection", profile_key=self.args.profile)
|
||||
self.host.bridge.setParam("Password", self.args.password, "Connection", profile_key=self.args.profile)
|
||||
self.host.quit()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue