connection.py still problematic, just adding the stuff alexey said in case his grab this to continue fixing

This commit is contained in:
Nikos Kouremenos 2005-04-29 14:15:16 +00:00
parent caad4cd972
commit 0b331139ed
1 changed files with 3 additions and 3 deletions

View File

@ -746,10 +746,10 @@ class Connection:
return 0 return 0
else: else:
gajim.log.debug(_('Connected to server')) 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['username'] = login
req['password'] = password 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) self.dispatch('ERROR', _('Error: ') + c.lastErr)
else: else:
self.name = name self.name = name