File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ All notable changes to this project will be documented in this file.
4444
4545### Features
4646
47+ - ` RoomNotificationInfo ` , ` NotificationItem ` and ` SpaceRoom ` now have ` is_dm ` fields.
48+ ([ #6537 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/6537 ) )
4749- Expose ` RoomMember::is_service_member ` field. ([ #6536 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/6536 ) )
4850- Expose ` beacon ` and ` beacon_info ` fields in ` RoomPowerLevelsValues ` and ` RoomPowerLevelChanges ` ,
4951 allowing clients to read and update the power levels required to send beacon (live location)
Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ All notable changes to this project will be documented in this file.
3333
3434### Features
3535
36+ - [ ** breaking** ] Add ` RoomSummary::active_service_members ` field to act as a cached value that will be computed
37+ when we sync members. Rename ` Room::is_dm ` to ` Room::compute_is_dm ` since it will now also store the computed
38+ active service members count in the new cached field. ` Room::active_service_members ` is now
39+ ` Room::update_active_service_members ` for the same reason.
40+ ([ #6537 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/6537 ) )
3641- [ ** breaking** ] Enforce atomic and synchronized updates to ` RoomInfo ` . Requires
3742 ` StateStore::save_changes ` to acquire state store lock and replaces ` Room::set_room_info `
3843 with an atomic version, ` Room::update_room_info ` , which is also synchronized by
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ All notable changes to this project will be documented in this file.
3838
3939### Features
4040
41+ - ` SpaceRoom ` and ` NotificationItem ` now have an ` is_dm ` field to indicate whether the room is a DM room.
42+ ([ #6537 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/6537 ) )
4143- Add a list of ` declined_by: Vec<OwnedUserId> ` to the ` TimelineItemContent::RtcNotification ` , this will contain the list
4244 of users that have declined the call.
4345 ([ #6494 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/6494 ) )
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file.
88
99### Features
1010
11+ - [ ** breaking** ] ` Room::is_dm ` was renamed to ` Room::compute_is_dm ` to match its behavior, since it'll now compute
12+ and cache the result. A new * synchronous* ` Room::is_dm ` function was added which centralizes the logic of
13+ checking if something is a DM based on that cached value and the provided ` DmRoomDefinition ` . ` Room::sync_members `
14+ will also now compute active service members. ([ #6537 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/6537 ) )
1115- [ ** breaking** ] Enforce atomic and synchronized updates to ` RoomInfo ` . Requires
1216 ` StateStore::save_changes ` to acquire state store lock and replaces ` Room::set_room_info `
1317 with an atomic version, ` Room::update_room_info ` , which is also synchronized by
You can’t perform that action at this time.
0 commit comments