Use the correct property of the API room objects

This commit is contained in:
Luke Barnard 2017-10-24 13:47:10 +01:00
parent ba46faf1b1
commit e955d27b5f

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