diff --git a/src/common/connection.py b/src/common/connection.py index 4136e1b56eaf35cb2813021375cdfbff6a188c07..0fe3c8a7c4f12e78f0874561533e183fc55da520 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -821,6 +821,9 @@ class Connection(CommonConnection, ConnectionHandlers): if not (self.sm and self.sm.resumption): gajim.nec.push_incoming_event(OurShowEvent(None, conn=self, show='offline')) + else: + gajim.nec.push_incoming_event(OurShowEvent(None, conn=self, + show='error')) self.disconnect() if gajim.config.get_per('accounts', self.name, 'autoreconnect'): self.connected = -1