File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
bindings/matrix-sdk-ffi/src/room Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,8 @@ pub struct RoomPowerLevelsValues {
206206 pub room_avatar : i64 ,
207207 /// The level required to change the room's topic.
208208 pub room_topic : i64 ,
209+ /// The level required to modify rooms in this space.
210+ pub manage_rooms_in_space : i64 ,
209211}
210212
211213impl From < RumaPowerLevels > for RoomPowerLevelsValues {
@@ -228,6 +230,7 @@ impl From<RumaPowerLevels> for RoomPowerLevelsValues {
228230 room_name : state_event_level_for ( & value, & TimelineEventType :: RoomName ) ,
229231 room_avatar : state_event_level_for ( & value, & TimelineEventType :: RoomAvatar ) ,
230232 room_topic : state_event_level_for ( & value, & TimelineEventType :: RoomTopic ) ,
233+ manage_rooms_in_space : state_event_level_for ( & value, & TimelineEventType :: SpaceChild ) ,
231234 }
232235 }
233236}
You can’t perform that action at this time.
0 commit comments