Commit 2b0062a2 authored by mathieui's avatar mathieui

Handle PresenceError correctly

parent 38a0e614
......@@ -1108,8 +1108,8 @@ class MucTab(ChatTab):
for stanza in self.presence_buffer:
try:
self.handle_presence_unjoined(stanza, deterministic)
except PresenceError as e:
self.core.room_error(e.presence, e.presence['from'].bare)
except PresenceError:
self.core.room_error(stanza, stanza['from'].bare)
self.handle_presence_unjoined(last_presence, deterministic, own=True)
self.users.sort()
# Enable the self ping event, to regularly check if we
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment