connection.py still problematic, just adding the stuff alexey said in case his grab this to continue fixing
This commit is contained in:
parent
caad4cd972
commit
0b331139ed
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue