Skip to content
Snippets Groups Projects
Commit 6b9ffea3 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix resumption when server fails to resumesession (server restart). Fixes #6951

parent 5a09c0d6
No related branches found
No related tags found
No related merge requests found
...@@ -114,8 +114,9 @@ class Smacks(): ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment