1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

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