diff --git a/src/common/connection.py b/src/common/connection.py index ed9b51b67..850317ce8 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -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.')))