Skip to content

Conversation

torrybr
Copy link
Contributor

@torrybr torrybr commented Jul 26, 2024

This MR introduces basic functionality for sending beacons associated with a live location share, as outlined in the matrix-org/matrix-spec-proposals#3489. This foundational support allows users to send their live location beacon.

Key Changes

  • send_location_beacon: simple support for sending a beacon message event with related beacon_info event id.

These changes were adapted from a previous MR discussion, available for reference here.

Follow-up

This does not save any beacon message events with its associated beacon_info. This MR simply introduces beacon sending support with the intention of follow on MRs to build on this basic functionality.

Signed-off-by:

@torrybr torrybr requested a review from a team as a code owner July 26, 2024 21:30
@torrybr torrybr requested review from jmartinesp and removed request for a team July 26, 2024 21:30
@codecov
Copy link

codecov bot commented Jul 26, 2024

Codecov Report

Attention: Patch coverage is 89.47368% with 2 lines in your changes missing coverage. Please review.

Project coverage is 84.08%. Comparing base (6fca1e8) to head (3756eeb).

Files Patch % Lines
crates/matrix-sdk/src/room/mod.rs 89.47% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3771      +/-   ##
==========================================
+ Coverage   84.07%   84.08%   +0.01%     
==========================================
  Files         259      259              
  Lines       27080    27087       +7     
==========================================
+ Hits        22767    22776       +9     
+ Misses       4313     4311       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@torrybr torrybr force-pushed the feat/send-beacon branch from 24c7f2c to ab6d039 Compare July 27, 2024 02:57
@torrybr torrybr force-pushed the feat/send-beacon branch from 3cb0bea to dd25293 Compare July 27, 2024 03:18
Copy link
Contributor

@jmartinesp jmartinesp 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 moving the tests to a new file.

@jmartinesp jmartinesp merged commit e083311 into matrix-org:main Jul 29, 2024
@torrybr torrybr deleted the feat/send-beacon branch February 15, 2025 04:21
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