mirror of https://github.com/vector-im/riot-web
Merge pull request #1526 from matrix-org/luke/fix-group-rooms-guest-can-join-
Use the correct property of the API room objectspull/21833/head
commit
9e54002983
|
@ -46,6 +46,6 @@ export function groupRoomFromApiObject(apiObject) {
|
||||||
topic: apiObject.topic,
|
topic: apiObject.topic,
|
||||||
numJoinedMembers: apiObject.num_joined_members,
|
numJoinedMembers: apiObject.num_joined_members,
|
||||||
worldReadable: apiObject.world_readable,
|
worldReadable: apiObject.world_readable,
|
||||||
canGuestsJoin: apiObject.can_guests_join,
|
guestCanJoin: apiObject.guest_can_join,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue