Commit f1ab9fb6 authored by Philipp Hörist's avatar Philipp Hörist

Fix connection resume

Fixes #9458
parent f942e2c7
Pipeline #2732 passed with stages
in 4 minutes and 6 seconds
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment