don't try to reconnect in a MUC when we get an error. Fixes #6097

This commit is contained in:
Yann Leboulanger 2010-12-19 10:59:00 +01:00
parent 48a44e0cfe
commit 70f7ceb2a2
1 changed files with 2 additions and 0 deletions

View File

@ -306,6 +306,8 @@ class Interface:
elif gc_control:
gc_control.print_conversation('Error %s: %s' % (obj.errcode,
obj.errmsg))
if gc_control and gc_control.autorejoin:
gc_control.autorejoin = False
def handle_event_presence(self, obj):
# 'NOTIFY' (account, (jid, status, status message, resource,