-
Notifications
You must be signed in to change notification settings - Fork 358
ffi(bindings): added is_space to the NotificationRoomInfo
#5907
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
base: main
Are you sure you want to change the base?
Conversation
poljar
left a comment
There was a problem hiding this 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.
CodSpeed Performance ReportMerging #5907 will not alter performanceComparing Summary
|
Codecov Report✅ All modified and coverable lines are covered by tests. 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. |
|
@poljar added the changelog |
poljar
left a comment
There was a problem hiding this 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. |
There was a problem hiding this comment.
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.
Exposes the
is_spaceflag to FFI in theNotificationRoomInfo, so that a client can tell through a notification if the room that generated it, is a space or not.