plugin XEP-0402: catch NotFound in _set_autojoin

This commit is contained in:
Goffi 2026-09-25 15:01:26 +02:00
commit 8d4120fb8a

View file

@ -526,7 +526,7 @@ class XEP_0402:
"""
try:
conference = await self.get(client, room_jid)
except (IndexError, KeyError):
except (IndexError, KeyError, exceptions.NotFound):
# No bookmark for this room, nothing to do
return
except Exception: