-
-
Notifications
You must be signed in to change notification settings - Fork 590
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
Timeline needs to refresh when we see a MSC2716 marker event #2299
Timeline needs to refresh when we see a MSC2716 marker event #2299
Commits on Apr 14, 2022
-
Timeline needs to refresh when we see a MSC2716 marker event
> In a [sync meeting with @ara4n](https://docs.google.com/document/d/1KCEmpnGr4J-I8EeaVQ8QJZKBDu53ViI7V62y5BzfXr0/edit#bookmark=id.67nio1ka8znc), we came up with the idea to make the `marker` events as state events. When the client sees that the `m.room.marker` state changed to a different event ID, it can throw away all of the timeline and re-fetch as needed. > > For homeservers where the [same problem](matrix-org/matrix-spec-proposals#2716 (comment)) can happen, we probably don't want to throw away the whole timeline but it can go up the `unsigned.replaces_state` chain of the `m.room.marker` state events to get them all. > > In terms of state performance, there could be thousands of `marker` events in a room but it's no different than room members joining and leaving over and over like an IRC room. > > *-- matrix-org/matrix-spec-proposals#2716 (comment)
Configuration menu - View commit details
-
Copy full SHA for d37fa81 - Browse repository at this point
Copy the full SHA d37fa81View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbc7d66 - Browse repository at this point
Copy the full SHA dbc7d66View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee39d6c - Browse repository at this point
Copy the full SHA ee39d6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2468690 - Browse repository at this point
Copy the full SHA 2468690View commit details
Commits on Apr 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f44489d - Browse repository at this point
Copy the full SHA f44489dView commit details
Commits on Apr 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1ab5460 - Browse repository at this point
Copy the full SHA 1ab5460View commit details
Commits on Apr 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 52ce184 - Browse repository at this point
Copy the full SHA 52ce184View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7c6802 - Browse repository at this point
Copy the full SHA d7c6802View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26d4ecd - Browse repository at this point
Copy the full SHA 26d4ecdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1979d2 - Browse repository at this point
Copy the full SHA f1979d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c863ad1 - Browse repository at this point
Copy the full SHA c863ad1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b58e198 - Browse repository at this point
Copy the full SHA b58e198View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81785ce - Browse repository at this point
Copy the full SHA 81785ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for a98df62 - Browse repository at this point
Copy the full SHA a98df62View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8e4d07 - Browse repository at this point
Copy the full SHA a8e4d07View commit details
Commits on Apr 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d43a994 - Browse repository at this point
Copy the full SHA d43a994View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4acc712 - Browse repository at this point
Copy the full SHA 4acc712View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15d0e8a - Browse repository at this point
Copy the full SHA 15d0e8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64a6e38 - Browse repository at this point
Copy the full SHA 64a6e38View commit details
Commits on May 19, 2022
-
Merge branch 'develop' into madlittlemods/refresh-timeline-when-we-see-…
…msc2716-marker-events-v2 Conflicts: spec/integ/matrix-client-syncing.spec.js spec/unit/room-state.spec.js src/models/room-state.ts src/models/room.ts src/sync.ts
Configuration menu - View commit details
-
Copy full SHA for 46f2933 - Browse repository at this point
Copy the full SHA 46f2933View commit details
Commits on May 20, 2022
-
4
Configuration menu - View commit details
-
Copy full SHA for d267136 - Browse repository at this point
Copy the full SHA d267136View commit details
Commits on May 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 148434d - Browse repository at this point
Copy the full SHA 148434dView commit details -
Extra TimelineRefresh to make the timeline blank and have something t…
…o key off in the test but this also gives user feedback after pushing the refresh timeline button
Configuration menu - View commit details
-
Copy full SHA for 3973e34 - Browse repository at this point
Copy the full SHA 3973e34View commit details
Commits on May 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a086489 - Browse repository at this point
Copy the full SHA a086489View commit details -
Configuration menu - View commit details
-
Copy full SHA for d241f13 - Browse repository at this point
Copy the full SHA d241f13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e3a5db - Browse repository at this point
Copy the full SHA 0e3a5dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a19b075 - Browse repository at this point
Copy the full SHA a19b075View commit details
Commits on May 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3dff724 - Browse repository at this point
Copy the full SHA 3dff724View commit details -
Re-register state listeners after
fixUpLegacyTimelineFields
changes…… the reference Important so that you can refresh the timeline again after refreshing it once
Configuration menu - View commit details
-
Copy full SHA for d37f788 - Browse repository at this point
Copy the full SHA d37f788View commit details -
Remove lastMarkerEventProcessed logic
I don't think it's necessary, #2299 (comment)
Configuration menu - View commit details
-
Copy full SHA for 6b8aa6c - Browse repository at this point
Copy the full SHA 6b8aa6cView commit details -
Add some missing test coverage
Added tests for the following - `getRoomCreator` - `getLatestTimeline` - `RoomEvent.OldStateUpdated` and `RoomEvent.CurrentStateUpdated`
Configuration menu - View commit details
-
Copy full SHA for 4bb1d14 - Browse repository at this point
Copy the full SHA 4bb1d14View commit details
Commits on May 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 34a943b - Browse repository at this point
Copy the full SHA 34a943bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e412aa1 - Browse repository at this point
Copy the full SHA e412aa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a90629 - Browse repository at this point
Copy the full SHA 7a90629View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d1c7c7 - Browse repository at this point
Copy the full SHA 9d1c7c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c36e1b9 - Browse repository at this point
Copy the full SHA c36e1b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f663d6b - Browse repository at this point
Copy the full SHA f663d6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 313df51 - Browse repository at this point
Copy the full SHA 313df51View commit details
Commits on May 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 90db6fd - Browse repository at this point
Copy the full SHA 90db6fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f3df87 - Browse repository at this point
Copy the full SHA 9f3df87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fc837f - Browse repository at this point
Copy the full SHA 8fc837fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78689a9 - Browse repository at this point
Copy the full SHA 78689a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58fa63c - Browse repository at this point
Copy the full SHA 58fa63cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0466a1 - Browse repository at this point
Copy the full SHA d0466a1View commit details -
Use optional chaining and null coalescing for more accurate and stand…
…ard code Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e67b620 - Browse repository at this point
Copy the full SHA e67b620View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a4a430 - Browse repository at this point
Copy the full SHA 2a4a430View commit details
Commits on Jun 1, 2022
-
Add deprecation warnings for old overloads
See #2299 (comment) - Move the preferred overload to the top so it's suggested first - Add `@deprecated` decorators to the deprecated overload - Add deprecation log warning when we see usage of the deprecated function
Configuration menu - View commit details
-
Copy full SHA for e4bd518 - Browse repository at this point
Copy the full SHA e4bd518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 310423a - Browse repository at this point
Copy the full SHA 310423aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac07eaf - Browse repository at this point
Copy the full SHA ac07eafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4915aef - Browse repository at this point
Copy the full SHA 4915aefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 460e887 - Browse repository at this point
Copy the full SHA 460e887View commit details -
Configuration menu - View commit details
-
Copy full SHA for 741a4fa - Browse repository at this point
Copy the full SHA 741a4faView commit details -
Configuration menu - View commit details
-
Copy full SHA for a33de28 - Browse repository at this point
Copy the full SHA a33de28View commit details -
Previously copy-paste from `client.getEventTimeline()`
Configuration menu - View commit details
-
Copy full SHA for 2bda3d3 - Browse repository at this point
Copy the full SHA 2bda3d3View commit details -
Previously copy-paste from `client.getEventTimeline()`
Configuration menu - View commit details
-
Copy full SHA for 150a498 - Browse repository at this point
Copy the full SHA 150a498View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5f832f - Browse repository at this point
Copy the full SHA a5f832fView commit details