-
-
Notifications
You must be signed in to change notification settings - Fork 829
Add a checkpoint to index newly encrypted rooms. #4611
Conversation
Hmm, but won't this equally apply to rooms that have an |
I don't think I observed that happening, but will re-check.
That's a bit annoying, that'll need a new method in Seshat but I guess other people might find it useful as well. |
@poljar Do you plan to revise this, or were you waiting for a review here? I wasn't sure if the above:
...meant you would revise this to address that, or if you see it as future work...? |
I meant that I'll add the feature to Seshat and I'll update this PR after Seshat gets support. It's just a bit stuck behind getting the paginated search going and keeping the rust-sdk rolling. |
Okay, for now I'll clear the review request here then. |
bc39d1b
to
7a2bb4b
Compare
This has now been updated, it requires the following PRs: Also a Seshat release will be required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me! 😄
This intends to fix element-hq/element-web#13682, it waits for
m.room.encryption
events in the timeline and indexes a room if one is received. Though if a limited timeline was received them.room.encryption
event will be missed.A suggestion was made to use the
RoomState.events
event and catch am.room.encryption
event there, but due to the way our locally cached sync gets stored/restored that event will be fired every time Riot gets started.Suggestions on how to handle a limited sync there are welcome.