Fix tombstones and create events getting mixed up
This commit is contained in:
parent
5894e32482
commit
b1c387e03c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue