Skip to content

Commit 2b004c6

Browse files
committed
Ignore M_NOT_FOUND in hungryserv yeet endpoint
1 parent 11593cc commit 2b004c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mautrix/bridge/portal.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,9 @@ async def cleanup_room(
462462
try:
463463
await intent.beeper_delete_room(room_id)
464464
return
465+
except MNotFound as err:
466+
cls.log.debug(f"Hungryserv yeet returned {err}, assuming the room is already gone")
467+
return
465468
except Exception:
466469
cls.log.warning(
467470
f"Failed to delete {room_id} using hungryserv yeet endpoint, "

0 commit comments

Comments
 (0)