diff src/plugins/plugin_misc_account.py @ 2142:be96beb7ca14

core, bridge, frontends: renamed asyncConnect to connect, and added options parameters (not used yet)
author Goffi <goffi@goffi.org>
date Mon, 06 Feb 2017 22:54:43 +0100
parents 2daf7b4c6756
children 1d3f73e065e1
line wrap: on
line diff
--- a/src/plugins/plugin_misc_account.py	Mon Feb 06 20:51:56 2017 +0100
+++ b/src/plugins/plugin_misc_account.py	Mon Feb 06 22:54:43 2017 +0100
@@ -617,7 +617,7 @@
 
         d = self.createProfile(password, jid_s, jid_s)
         d.addCallback(lambda dummy: self.host.memory.getProfileName(jid_s))  # checks if the profile has been successfuly created
-        d.addCallback(self.host.asyncConnect, password, 0)
+        d.addCallback(self.host.connect, password, {}, 0)
 
 
         def connected(result):