Author: dkirov Date: 2006-05-31 20:45:15 +0200 (Wed, 31 May 2006) New Revision: 6396
Modified: branches/gajim_0.10/src/common/connection.py Log: merge r6323
Modified: branches/gajim_0.10/src/common/connection.py =================================================================== --- branches/gajim_0.10/src/common/connection.py 2006-05-31 18:25:49 UTC (rev 6395) +++ branches/gajim_0.10/src/common/connection.py 2006-05-31 18:45:15 UTC (rev 6396) @@ -158,6 +158,8 @@ # 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.')))