From b1c387e03c5bb58f86a303de6bd344655eafc8cb Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 22 Feb 2026 17:17:43 +0100 Subject: [PATCH] Fix tombstones and create events getting mixed up --- src/Cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cache.cpp b/src/Cache.cpp index 46034fe6..dac67ae4 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -3624,7 +3624,7 @@ Cache::getRoomIsTombstoned(lmdb::txn &txn, lmdb::dbi &statesdb) using namespace mtx::events::state; std::string_view event; - bool res = statesdb.get(txn, to_string(mtx::events::EventType::RoomCreate), event); + bool res = statesdb.get(txn, to_string(mtx::events::EventType::RoomTombstone), event); if (res) { try {