diff --git a/src/common/connection.py b/src/common/connection.py index d58e0ee2f267127b85c1447135b467e4912875e1..dc6b2c05e2430b631dc56c570d0bcd2d754558a0 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -811,6 +811,7 @@ class Connection(CommonConnection, ConnectionHandlers): gajim.nec.push_incoming_event(OurShowEvent(None, conn=self, show='offline')) else: + self.sm.enabled = False gajim.nec.push_incoming_event(OurShowEvent(None, conn=self, show='error')) self.disconnect()