-
-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix room state being updated with old (now overwritten) state and emi…
…tting for those updates. (#4242) * Fix room state being updated with old (now overwritten) state and emitting for those updates. * remove timestamp condition Add configuration for toStartOfTimeline * fix timeline tests * only skip event adding if event_id and replaces_state is set. * fix room tests * test skipping insertion * rename back to lastStateEvent * store if a state is at the start of a timeline in the RoomState class * make `isStartTimelineState` a `public readonly` and fix condition.
- Loading branch information
Showing
3 changed files
with
87 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters