Include the origin_server_ts in the response, as needed by MSC1772.

kegan/spaces-summary
Patrick Cloke 5 years ago
parent 8fdbfb15c2
commit f145fa3e8a

@ -65,7 +65,7 @@ Example response:
"num_joined_members": 37,
"topic": "Tasty tasty cheese",
"world_readable": true,
"origin_server_ts": 1432735824653,
"room_type": "m.space"
},
{ ... }
@ -110,6 +110,9 @@ Response fields:
with the addition of:
* **`room_type`**: the value of the `m.type` field from the
room's `m.room.create` event, if any.
* **`origin_server_ts`**: the value of the `origin_server_ts` field from the
room's `m.room.create` event. This is required for sorting of rooms as specified
in [MSC1772](https://github.com/matrix-org/matrix-doc/pull/1772).
* **`events`**: `m.space.child` events of the returned rooms. For each event, only the
following fields are returned: `type`, `state_key`, `content`, `room_id`,
`sender`.

Loading…
Cancel
Save