diff --git a/idlebot.py b/idlebot.py index cd46cf3..e408b42 100644 --- a/idlebot.py +++ b/idlebot.py @@ -120,7 +120,6 @@ class IdleBot(slixmpp.ClientXMPP): Deals with alls events for disconnections. Tryes to reconnect. ''' logging.warning('Receive a disconnect event: {}'.format(event)) - self.disconnect() logging.info('Try to reconnect') self.connect()