make sure SM is disabled with reconnecting
This commit is contained in:
parent
e0bcd1eceb
commit
8700389d98
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue