Merge pull request #244 from matrix-org/daniel/avatarurls

Return room avatar URLs in /publicRooms
pull/252/head
Daniel Wagner-Hall 9 years ago
commit 3dc7eb23fa

@ -67,6 +67,9 @@ paths:
Whether guest users may join the room and participate in it. Whether guest users may join the room and participate in it.
If they can, they will be subject to ordinary power level If they can, they will be subject to ordinary power level
rules like any other user. rules like any other user.
avatar_url:
type: string
description: The URL for the room's avatar, if one is set.
start: start:
type: string type: string
description: |- description: |-
@ -81,6 +84,7 @@ paths:
"chunk": [ "chunk": [
{ {
"aliases": ["#murrays:cheese.bar"], "aliases": ["#murrays:cheese.bar"],
"avatar_url": "mxc://bleeker.street/CHEDDARandBRIE",
"guest_can_join": false, "guest_can_join": false,
"name": "CHEESE", "name": "CHEESE",
"num_joined_members": 37, "num_joined_members": 37,

Loading…
Cancel
Save