Commit graph

3 commits

Author SHA1 Message Date
Till Faelligen e47ad14a18
Refactor StoreEvent, add MaybeRedactEvent, create a EventDatabase 2023-02-28 12:42:06 +01:00
Till ad07b169b8
Refactor StoreEvent and create a new RoomDatabase interface (#2985)
This PR changes a few things:
- It pulls out the creation of several NIDs from the `StoreEvent`
function to make the functions more reusable
- Uses more caching when using those NIDs to avoid DB round trips
2023-02-24 09:40:20 +01:00
Till Faelligen e177e0ae73
Fix oops, add simple UT 2022-11-11 16:44:59 +01:00