fix resumption when server fails to resumesession (server restart). Fixes #6951
This commit is contained in:
parent
5a09c0d62e
commit
6b9ffea3c2
|
@ -114,8 +114,9 @@ class Smacks():
|
||||||
# Ask for service discovery, etc..
|
# Ask for service discovery, etc..
|
||||||
if stanza.getTag('item-not-found'):
|
if stanza.getTag('item-not-found'):
|
||||||
self.resuming = False
|
self.resuming = False
|
||||||
self.negociate()
|
# we need to bind a resource
|
||||||
self.con._discover_server_at_connection(self.con.connection)
|
self._owner.NonBlockingBind.resuming = False
|
||||||
|
self._owner._on_auth_bind(None)
|
||||||
return
|
return
|
||||||
|
|
||||||
# Doesn't support resumption
|
# Doesn't support resumption
|
||||||
|
|
Loading…
Reference in New Issue