-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Protects shared room history from absent knocking member #14067
base: develop
Are you sure you want to change the base?
Protects shared room history from absent knocking member #14067
Conversation
…ent events are loaded for a sync
Signed-off-by: Amman Zaman amman.z.zaman@gmail.com
…filter_events_for_client
Putting this in the review queue to force us to decide what to do with this change. |
Sorry for not getting back to you about this, it's a little bit tricky to figure out the best way of doing this. You're right that we need to think a bit more carefully about the The tricky thing is that I don't think we have an efficient way of answering the question "has the user ever been in the room". I think the proposed approach likely works, but is going to be very inefficient on large databases. Maybe we'll need to track "which local users have been in which rooms" separately? |
Can we fix this going forward by adding some Then when processing a new |
To summarise:
|
Removing from the review queue since @DMRobertson responded above. |
Fix #13968
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.(run the linters)