summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-10-11 23:47:10 +0200
committermathieui <mathieui@mathieui.net>2017-10-11 23:47:10 +0200
commit2b0062a2792b2907c16b33d5d001ea6db1c28b87 (patch)
tree8891200b69493cf23e6289167101471363130300
parent38a0e614d46b89316997964f37370ab280c2dbb7 (diff)
downloadpoezio-2b0062a2792b2907c16b33d5d001ea6db1c28b87.tar.gz
poezio-2b0062a2792b2907c16b33d5d001ea6db1c28b87.tar.bz2
poezio-2b0062a2792b2907c16b33d5d001ea6db1c28b87.tar.xz
poezio-2b0062a2792b2907c16b33d5d001ea6db1c28b87.zip
Handle PresenceError correctly
-rw-r--r--poezio/tabs/muctab.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index 82c9fd0f..2942ba77 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -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