summaryrefslogtreecommitdiffstats
path: root/src/Cache_p.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-12-27 16:19:59 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-12-27 16:19:59 +0100
commit2577c93bb684ec9e2f714ee14d4ee1f30cee7c39 (patch)
tree44d7ae063ec9621c28f1e5387196a52c6aa20185 /src/Cache_p.h
parent01915360b4edc4e4c82d2f79457859c649b7b1d2 (diff)
Revert storing members in statesdb for now
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r--src/Cache_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h
index 40ce6e5c..7b3bf8b0 100644
--- a/src/Cache_p.h
+++ b/src/Cache_p.h
@@ -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;