Revert storing members in statesdb for now

This commit is contained in:
Nicolas Werner 2022-12-27 16:19:59 +01:00
parent 01915360b4
commit 2577c93bb6
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 4 additions and 2 deletions

View File

@ -410,8 +410,10 @@ private:
break;
}
}
// fallthrough to also store it as state event to eventually migrate away from a
// separate members db.
// BUG(Nico): Ideally we would fall through and store this in the database, but it seems
// to currently corrupt the db sometimes, so... let's find that bug first!
return;
} else if (std::holds_alternative<StateEvent<Encryption>>(event)) {
setEncryptedRoom(txn, room_id);
return;