Mercurial > libervia-backend
diff src/plugins/plugin_misc_account.py @ 1088:b29452cab50b
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
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 23 Jun 2014 00:44:10 +0200 |
parents | f25ec9fd7cc4 |
children | 8e0072754413 |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_account.py Wed Jun 25 14:01:58 2014 +0200 +++ b/src/plugins/plugin_misc_account.py Mon Jun 23 00:44:10 2014 +0200 @@ -192,7 +192,7 @@ #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)