make sure we are disconnected after connection
is lost ??? #1955 by j@bootlab.org
This commit is contained in:
parent
f619ddd76b
commit
7db9216442
|
@ -159,6 +159,8 @@ class Connection(ConnectionHandlers):
|
|||
# END disconenctedReconnCB
|
||||
|
||||
def _connection_lost(self):
|
||||
self.disconnect(on_purpose = False)
|
||||
self.dispatch('STATUS', 'offline')
|
||||
self.dispatch('ERROR',
|
||||
(_('Connection with account "%s" has been lost') % self.name,
|
||||
_('To continue sending and receiving messages, you will need to reconnect.')))
|
||||
|
|
Loading…
Reference in New Issue