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

This commit is contained in:
Yann Leboulanger 2011-08-27 12:17:33 +02:00
parent 5a09c0d62e
commit 6b9ffea3c2
1 changed files with 3 additions and 2 deletions

View File

@ -114,8 +114,9 @@ class Smacks():
# Ask for service discovery, etc..
if stanza.getTag('item-not-found'):
self.resuming = False
self.negociate()
self.con._discover_server_at_connection(self.con.connection)
# we need to bind a resource
self._owner.NonBlockingBind.resuming = False
self._owner._on_auth_bind(None)
return
# Doesn't support resumption