From 10383d526f84f8d56c7e24833d510f36953006b1 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 14 May 2025 17:18:18 +0300 Subject: [PATCH] Ignore tombstones with non-empty state key --- maubot/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maubot/client.py b/maubot/client.py index 56efbbb..b0fde73 100644 --- a/maubot/client.py +++ b/maubot/client.py @@ -350,6 +350,8 @@ class Client(DBClient): } async def _handle_tombstone(self, evt: StateEvent) -> None: + if evt.state_key != "": + return if not evt.content.replacement_room: self.log.info(f"{evt.room_id} tombstoned with no replacement, ignoring") return