-
-
Notifications
You must be signed in to change notification settings - Fork 583
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
Crash on processBeaconEvents due to null room in notificationTimeline #2494
Labels
Comments
su-ex
added a commit
to SchildiChat/matrix-js-sdk
that referenced
this issue
Aug 1, 2022
* Remove MSC3244 support ([\matrix-org#2504](matrix-org#2504)). * `room` now exports `KNOWN_SAFE_ROOM_VERSION` ([\matrix-org#2474](matrix-org#2474)). * Don't crash with undefined room in `processBeaconEvents()` ([\matrix-org#2500](matrix-org#2500)). Fixes matrix-org#2494. * Properly re-insert room ID in bundled thread relation messages from sync ([\matrix-org#2505](matrix-org#2505)). Fixes element-hq/element-web#22094. Contributed by @duxovni. * Actually store the identity server in the client when given as an option ([\matrix-org#2503](matrix-org#2503)). Fixes element-hq/element-web#22757. * Fix call.collectCallStats() ([\matrix-org#2480](matrix-org#2480)).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When loading the client timeline set data,
processBeaconEvents
is called on the matrix events for the notification timeline. However, notification timeline has no room associated with it.The
processBeaconEvents
function expects a room if there are any matrix events.Here is the callback on the sync event:
And the call to processBeaconEvents:
To Reproduce
Steps to reproduce the behavior:
Create / start the client
Create a notification timelineset
Request timeline notifications
Desktop (please complete the following information):
This is not an issue in version 16 of the SDK. It is present in 17, 18, and 19.
The text was updated successfully, but these errors were encountered: