From 0b331139ed0aa3839dfec744d3719a2b1ab8c20d Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 29 Apr 2005 14:15:16 +0000 Subject: [PATCH] connection.py still problematic, just adding the stuff alexey said in case his grab this to continue fixing --- src/common/connection.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index 5c2e4083b..c15de08d4 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -716,7 +716,7 @@ class Connection: def ask_register_agent_info(self, agent): if not self.connection: return None - data = common.xmpp.features.getRegInfo(self.connection,agent) # FIXME: blocking + data = common.xmpp.features.getRegInfo(self.connection, agent) # FIXME: blocking info = data.asDict() instructions = data.getInstructions() if instructions: @@ -746,10 +746,10 @@ class Connection: return 0 else: gajim.log.debug(_('Connected to server')) - req = c.getRegInfo(c, hostname).asDict() # FIXME! This blocks! + req = common.xmpp.features.getRegInfo(c, hostname).asDict() # FIXME! This blocks! req['username'] = login req['password'] = password - if not register(c, hostname,req): + if not common.xmpp.features.register(c, hostname,req): #FIXME: error self.dispatch('ERROR', _('Error: ') + c.lastErr) else: self.name = name