Fix connection resume

Fixes #9458
This commit is contained in:
Philipp Hörist 2018-11-27 19:15:35 +01:00
parent f942e2c70f
commit f1ab9fb683
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ class Connection(CommonConnection, ConnectionHandlers):
self.old_show = app.SHOW_LIST[self.connected]
self.connected = 0
if not self.on_purpose:
if not self.connection.resume_supported:
if not self._sm_resume_data:
app.nec.push_incoming_event(OurShowEvent(None, conn=self,
show='offline'))
else: