From f145fa3e8ac63edb5d7e9777cb55ecefea20beb8 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Wed, 5 May 2021 08:25:53 -0400 Subject: [PATCH] Include the origin_server_ts in the response, as needed by MSC1772. --- proposals/2946-spaces-summary.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proposals/2946-spaces-summary.md b/proposals/2946-spaces-summary.md index 83feb4628..68368da33 100644 --- a/proposals/2946-spaces-summary.md +++ b/proposals/2946-spaces-summary.md @@ -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`.