mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 22:14:58 +08:00
Merge pull request #1526 from matrix-org/luke/fix-group-rooms-guest-can-join-
Use the correct property of the API room objects
This commit is contained in:
commit
9e54002983
@ -46,6 +46,6 @@ export function groupRoomFromApiObject(apiObject) {
|
||||
topic: apiObject.topic,
|
||||
numJoinedMembers: apiObject.num_joined_members,
|
||||
worldReadable: apiObject.world_readable,
|
||||
canGuestsJoin: apiObject.can_guests_join,
|
||||
guestCanJoin: apiObject.guest_can_join,
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user