element-hq / element-hq/element-web
Hang due to mutually referencing timeline loop
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Open https://matrix.to/#/!QQpfJfZvqxbCfeDgCj:matrix.org/$QWpyPcVtOL6rNdO16dE5E1wZiVPoj5quHfRkMaGMqug?via=matrix.org&via=envs.net&via=beeper.com (TWIM room)
2. Possibly scroll down?
3. Client will hang.
### Outcome
Somehow we have ended up with two timelines that reference each other (each is the other's nextTimeline) so https://github.com/matrix-org/matrix-js-sdk/blob/develop/src/models/event-timeline-set.ts#L967 is looping forever.
### Operating system
_No response_
### Application version
_No response_
### How did you install the app?
_No response_
### Homeserver
_No response_
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.