Skip to content
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

Location streaming tweaks #3622

Merged
merged 3 commits into from
Jan 12, 2022

Conversation

stefanceriu
Copy link
Member

@stefanceriu stefanceriu commented Jan 5, 2022

Various tweaks following initial implementation:

  • switched from m.beacon.* state event to m.becon reference relationship to original m.beacon_info.* as a better way to store streams of related data
  • changed beacon_info created to m.ts to avoid introducing a new concept
  • renamed lifetime to timeout as a better way of defining how long since the last event until we consider the beacon inactive
  • added m.asset type to be able to distinguish between users and other types of assets being tracked

Preview: https://pr3622--matrix-org-previews.netlify.app

- switched from `m.beacon.*` state event to `m.becon` reference relationship to original `m.beacon_info.*`
- changed `beacon_info` created to `m.ts`
- renamed `lifetime` to `timeout`
- added `m.asset` `type`
@stefanceriu stefanceriu requested a review from ara4n January 5, 2022 10:13
@ara4n
Copy link
Member

ara4n commented Jan 5, 2022

lgtm other than clarifying how asset identifiers works in the context of the beacon_info state event type. thanks!

Copy link
Member

@ara4n ara4n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! thanks for incorporating the feedback.

@stefanceriu stefanceriu merged commit c0a2f7b into matthew/location-streaming Jan 12, 2022
@stefanceriu stefanceriu deleted the stefan/location-streaming branch January 12, 2022 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants