Fixed the autorejoin bug with overlimited MUC. Fixes #5678
This commit is contained in:
parent
5f2b217fd6
commit
36ea39e74a
|
@ -1767,6 +1767,7 @@ ConnectionCaps, ConnectionHandlersBase, ConnectionJingle):
|
|||
self.dispatch('NOTIFY', (jid_stripped, 'error', errmsg, resource,
|
||||
prio, keyID, timestamp, None))
|
||||
elif (errcode == '503'):
|
||||
if gc_control is None or gc_control.autorejoin is None:
|
||||
# maximum user number reached
|
||||
self.dispatch('ERROR', (_('Unable to join group chat'),
|
||||
_('Maximum number of users for %s has been reached') % \
|
||||
|
|
Loading…
Reference in New Issue