-
-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude old state events from sync when consumed from roomserver #1548
Conversation
As far as I can tell, the sytests that this has caused to fail probably shouldn't have been passing before. The sync API doesn't currently have the ability to insert events into the history of the timeline - they can only get added as if they had just happened - and I get the feeling this has caused us to pass a couple of tests by fluke. |
Concerns from the peanut gallery: If I send dendrite an extremely delayed transaction from my HS, containing events from ages ago, will the sync API treat those as new? |
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.
Sounds plausible and a reasonable compromise for now!
When consuming old room events from the roomserver, the sync API was not excluding them from sync, which I think is responsible for some older events appearing incorrectly in the timeline. This should therefore fix #1547.