Skip to content

refactor(base): Remove unused beacons from BaseRoomInfo#6041

Merged
stefanceriu merged 1 commit intomatrix-org:mainfrom
zecakeh:room-info-beacons
Jan 22, 2026
Merged

refactor(base): Remove unused beacons from BaseRoomInfo#6041
stefanceriu merged 1 commit intomatrix-org:mainfrom
zecakeh:room-info-beacons

Conversation

@zecakeh
Copy link
Copy Markdown
Collaborator

@zecakeh zecakeh commented Jan 17, 2026

This field was added already unused in the initial PR #3741 for live location sharing. By "unused" I mean that it is written to but never read.

The follow up live location PRs didn't make use of it either:

Note that it is not exposed in the public API so no one can use it outside of the crate.

Maybe ping @torrybr which added this field, to clarify what it was intended to be used for in the first place, or if it is still intended to be used but the feature hasn't been implemented yet?

This field was added already unused in the initial PR
matrix-org#3741 for live
location sharing.

The follow up live location PRs didn't make use of it either:

- matrix-org#3771
- matrix-org#3794
- matrix-org#4025

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh requested a review from a team as a code owner January 17, 2026 10:54
@zecakeh zecakeh requested review from stefanceriu and removed request for a team January 17, 2026 10:54
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Jan 17, 2026

Merging this PR will not alter performance

✅ 50 untouched benchmarks


Comparing zecakeh:room-info-beacons (a425aec) with main (90390d7)

Open in CodSpeed

Copy link
Copy Markdown
Member

@Hywan Hywan left a comment

Choose a reason for hiding this comment

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

I think we should merge this PR. We can still revert it in case this field was necessary in the future.

Waiting on another review from @stefanceriu.

@stefanceriu
Copy link
Copy Markdown
Member

I'm just waiting for an answer from the original creator, there's no rush here.

@stefanceriu
Copy link
Copy Markdown
Member

stefanceriu commented Jan 22, 2026

Guess it's been long enough 🚀

Thank your keeping an eye out, Kevin 🙏

@stefanceriu stefanceriu merged commit e69f9e4 into matrix-org:main Jan 22, 2026
51 checks passed
@zecakeh zecakeh deleted the room-info-beacons branch January 22, 2026 18:58
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.

3 participants