Fix tombstones and create events getting mixed up

This commit is contained in:
Nicolas Werner 2026-02-22 17:17:43 +01:00
parent 5894e32482
commit b1c387e03c
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -3624,7 +3624,7 @@ Cache::getRoomIsTombstoned(lmdb::txn &txn, lmdb::dbi &statesdb)
using namespace mtx::events::state; using namespace mtx::events::state;
std::string_view event; 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) { if (res) {
try { try {