@@ -7,6 +7,10 @@ All notable changes to this project will be documented in this file.
7
7
## [ Unreleased] - ReleaseDate
8
8
9
9
### Features
10
+ - [ ** breaking** ] ` RoomCreateWithCreatorEventContent ` has a new field
11
+ ` additional_creators ` that allows to specify additional room creators beside
12
+ the user sending the ` m.room.create ` event, introduced with room version 12.
13
+ ([ #5436 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5436 ) )
10
14
- [ ** breaking** ] The ` RoomInfo ` method now remembers the inviter at the time
11
15
when the ` BaseClient::room_joined() ` method was called. The caller is
12
16
responsible to remember the inviter before a server request to join the room
@@ -16,6 +20,19 @@ All notable changes to this project will be documented in this file.
16
20
([ #5390 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5390 ) )
17
21
18
22
### Refactor
23
+ - [ ** breaking** ] ` SyncOrStrippedState<RoomPowerLevelsEventContent>::power_levels() `
24
+ takes ` AuthorizationRules ` and a list of creators, because creators can have
25
+ infinite power levels, as introduced in room version 12.
26
+ ([ #5436 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5436 ) )
27
+ - [ ** breaking** ] ` RoomMember::power_level() ` and
28
+ ` RoomMember::normalized_power_level() ` now use ` UserPowerLevel ` to represent
29
+ power levels instead of ` i64 ` to differentiate the infinite power level of
30
+ creators, as introduced in room version 12.
31
+ ([ #5436 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5436 ) )
32
+ - [ ** breaking** ] The ` creator() ` methods of ` Room ` and ` RoomInfo ` have been
33
+ renamed to ` creators() ` and can now return a list of user IDs, to reflect that
34
+ a room can have several creators, as introduced in room version 12.
35
+ ([ #5436 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5436 ) )
19
36
- [ ** breaking** ] ` RoomInfo::room_version_or_default() ` was replaced with
20
37
` room_version_rules_or_default() ` . The room version should only be used for
21
38
display purposes. The rules contain flags for all the differences in behavior
0 commit comments