From 48aab7bad9075f7125092c8cdb7666fac3642efe Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Wed, 6 Jan 2016 18:00:21 +0000 Subject: [PATCH] Return room avatar URLs in /publicRooms --- api/client-server/list_public_rooms.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/client-server/list_public_rooms.yaml b/api/client-server/list_public_rooms.yaml index ad7dfca9..99f74174 100644 --- a/api/client-server/list_public_rooms.yaml +++ b/api/client-server/list_public_rooms.yaml @@ -67,6 +67,9 @@ paths: Whether guest users may join the room and participate in it. If they can, they will be subject to ordinary power level rules like any other user. + avatar_url: + type: string + description: The URL for the room's avatar, if one is set. start: type: string description: |- @@ -81,6 +84,7 @@ paths: "chunk": [ { "aliases": ["#murrays:cheese.bar"], + "avatar_url": "mxc://bleeker.street/CHEDDARandBRIE", "guest_can_join": false, "name": "CHEESE", "num_joined_members": 37,