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:
David Baker 2017-10-24 15:31:49 +01:00 committed by GitHub
commit 9e54002983

View File

@ -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,
};
}