Skip to content

Conversation

@Velin92
Copy link
Member

@Velin92 Velin92 commented Nov 27, 2025

Exposes the is_space flag to FFI in the NotificationRoomInfo, so that a client can tell through a notification if the room that generated it, is a space or not.

@Velin92 Velin92 requested a review from a team as a code owner November 27, 2025 12:39
@Velin92 Velin92 requested review from andybalaam and removed request for a team November 27, 2025 12:39
Copy link
Contributor

@poljar poljar left a comment

Choose a reason for hiding this comment

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

Looks good, please just add a changelog entry about this.

@Velin92 Velin92 requested a review from poljar November 27, 2025 12:54
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 27, 2025

CodSpeed Performance Report

Merging #5907 will not alter performance

Comparing mauroromito/add_is_space_in_notification_room_info (f5d1366) with main (24d7518)

Summary

✅ 50 untouched

@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.65%. Comparing base (24d7518) to head (f5d1366).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5907      +/-   ##
==========================================
- Coverage   88.65%   88.65%   -0.01%     
==========================================
  Files         362      362              
  Lines      104365   104366       +1     
  Branches   104365   104366       +1     
==========================================
- Hits        92530    92529       -1     
- Misses       7506     7507       +1     
- Partials     4329     4330       +1     

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

@Velin92
Copy link
Member Author

Velin92 commented Nov 27, 2025

@poljar added the changelog

Copy link
Contributor

@poljar poljar left a comment

Choose a reason for hiding this comment

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

Sorry for the trouble, just one minor issue remains.

([#5614](https://github.com/matrix-org/matrix-rust-sdk/pull/5614))
- Expose `m.federate` in `OtherState::RoomCreate` and `history_visibility` in `OtherState::RoomHistoryVisibility`, allowing clients to know whether a room federates and how its history is shared in the appropriate timeline events.
- Expose `join_rule` in `OtherState::RoomJoinRules`, allowing clients to know the join rules of a room from the appropriate timeline events.
- Expose `is_space` in `NotificationRoomInfo`, allowing clients to determine if the room that triggered the notification is a space.
Copy link
Contributor

Choose a reason for hiding this comment

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

Please move the entry to the top, new entries are added to the top.

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