-
Notifications
You must be signed in to change notification settings - Fork 315
Closed
Description
This issue tracks the progress and outstanding work for implementing the functionality described in MSC3489. It involves sending, stopping, and handling beacon
and beacon_info
events within the SDK and builds on events types in Ruma.
Related Communication
Initial discussion can be found in this draft PR.
Completed Tasks:
- Support for sending, stopping & updating
beacon_info
events inmatrix-sdk
&matrix-sdk-base
: PR #3741 - Support for sending
beacon
events in thematrix-sdk
crate: PR #3771 - Refactor
beacon_info
tests so they are in their own folder: PR #3794
In progress:
- Process incoming
beacon
events and associate them with their referencedbeacon_info
Remaining Tasks:
- Handle cases where
beacon
events arrive before their associatedbeacon_info
events - Provide a stream for the client to listen to new live location shares
- Add support for the timeline
- Add support for FFI bindings
Questions
- I’m currently working on the logic for processing incoming
beacon
events and associating them with their referencedbeacon_info
. Where should this logic be implemented? I assume it will require a lookup for the existing beacon_info in BaseRoomInfo.
Additional Context
The following ideas were suggested by @bnjbvr and should be integrated into the tasks above to improve the ergonomics of working with beacons:
- Provide a stream to listen to new live location shares (client-wide).
- For each live location share, offer a stream to listen to new beacon events and receive updates about the beacon_info itself (e.g., stopped, redacted, etc.).
Metadata
Metadata
Assignees
Labels
No labels