diff frontends/src/wix/profile_manager.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 c4c14480715a
children 8e0072754413
line wrap: on
line diff
--- a/frontends/src/wix/profile_manager.py	Wed Jun 25 14:01:58 2014 +0200
+++ b/frontends/src/wix/profile_manager.py	Mon Jun 23 00:44:10 2014 +0200
@@ -174,7 +174,7 @@
         if old_jid != new_jid:
             log.debug(_('Saving new JID and server'))
             self.host.bridge.setParam("JabberID", new_jid, "Connection", profile_key=profile)
-            self.host.bridge.setParam("Server", JID(new_jid).domain, "Connection", profile_key=profile)
+            self.host.bridge.setParam(C.FORCE_SERVER_PARAM, JID(new_jid).domain, "Connection", profile_key=profile)
         if old_pass != new_pass:
             log.debug(_('Saving new password'))
             self.host.bridge.setParam("Password", new_pass, "Connection", profile_key=profile)