bugfix in new_account function
This commit is contained in:
parent
962bc2d14e
commit
a05392dcde
|
@ -892,7 +892,7 @@ class Connection:
|
||||||
common.xmpp.dispatcher.DefaultTimeout = 45
|
common.xmpp.dispatcher.DefaultTimeout = 45
|
||||||
c.UnregisterDisconnectHandler(c.DisconnectHandler)
|
c.UnregisterDisconnectHandler(c.DisconnectHandler)
|
||||||
c.RegisterDisconnectHandler(self._disconnectedCB)
|
c.RegisterDisconnectHandler(self._disconnectedCB)
|
||||||
h = hostname
|
h = config['hostname']
|
||||||
p = 5222
|
p = 5222
|
||||||
usessl = None
|
usessl = None
|
||||||
if usessl: #FIXME: we cannot create an account if we want ssl connection to create it
|
if usessl: #FIXME: we cannot create an account if we want ssl connection to create it
|
||||||
|
|
Loading…
Reference in New Issue