Handle PresenceError correctly
This commit is contained in:
parent
38a0e614d4
commit
2b0062a279
1 changed files with 2 additions and 2 deletions
|
@ -1108,8 +1108,8 @@ class MucTab(ChatTab):
|
||||||
for stanza in self.presence_buffer:
|
for stanza in self.presence_buffer:
|
||||||
try:
|
try:
|
||||||
self.handle_presence_unjoined(stanza, deterministic)
|
self.handle_presence_unjoined(stanza, deterministic)
|
||||||
except PresenceError as e:
|
except PresenceError:
|
||||||
self.core.room_error(e.presence, e.presence['from'].bare)
|
self.core.room_error(stanza, stanza['from'].bare)
|
||||||
self.handle_presence_unjoined(last_presence, deterministic, own=True)
|
self.handle_presence_unjoined(last_presence, deterministic, own=True)
|
||||||
self.users.sort()
|
self.users.sort()
|
||||||
# Enable the self ping event, to regularly check if we
|
# Enable the self ping event, to regularly check if we
|
||||||
|
|
Loading…
Reference in a new issue