Commit graph

9 commits

Author SHA1 Message Date
Till Faelligen 1fe4e655a2
Differentiate between public/private 2023-06-06 13:04:43 +02:00
Till Faelligen 35142ec42f
Add possibility to query userIDs for senderKeys 2023-06-06 12:22:30 +02:00
Till Faelligen d4b1074fdf
Make the almighty linter happy again 2023-06-02 16:44:38 +02:00
Till Faelligen 0b70eead27
PR review comments, return existing key on conflict 2023-06-02 16:41:11 +02:00
Till Faelligen e5ef9a2ead
Add initial support for storing user room keys 2023-06-02 14:32:13 +02:00
Till 5e85a00cb3
Remove BaseDendrite (#3023)
Removes `BaseDendrite` to, hopefully, make testing and composing of
components easier in the future.
2023-03-22 09:21:32 +01:00
Till 6c20f8f742
Refactor StoreEvent, add MaybeRedactEvent, create an EventDatabase (#2989)
This PR changes the following:
- `StoreEvent` now only stores an event (and possibly prev event),
instead of also doing redactions
- Adds a `MaybeRedactEvent` (pulled out from `StoreEvent`), which should
be called after storing events
- a few other things
2023-03-01 17:06:47 +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 7d2344049d
Cleanup stale device lists for users we don't share a room with anymore (#2857)
The stale device lists table might contain entries for users we don't
share a room with anymore. This now asks the roomserver about left users
and removes those entries from the table.

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-12-12 08:20:59 +01:00