From 086095f72eeea1f7b786a9beff77ce89ea1edcf5 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Mon, 17 May 2021 11:14:29 -0400 Subject: [PATCH] Also include the room topic. --- proposals/3173-expose-stripped-state-events.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/proposals/3173-expose-stripped-state-events.md b/proposals/3173-expose-stripped-state-events.md index 4d7ed78b..b80f6256 100644 --- a/proposals/3173-expose-stripped-state-events.md +++ b/proposals/3173-expose-stripped-state-events.md @@ -80,12 +80,13 @@ should consider this MSC, for example: Additionally, it is recommended, but not required, that homeserver implementations include the following as stripped state events: -* Create event (`m.room.create`)[2](#f1) +* Create event (`m.room.create`)[1](#f1) * Join rules (`m.room.join_rules`) * Canonical alias (`m.room.canonical_alias`) * Room avatar (`m.room.avatar`) * Room name (`m.room.name`) -* Encryption information (`m.room.encryption`)[3](#f2) +* Encryption information (`m.room.encryption`)[2](#f2) +* Room topic (`m.room.topic`)[3](#f3) This also implies that the above information is available to any potential joiner in the API proposed in [MSC2946: Spaces summary](https://github.com/matrix-org/matrix-doc/pull/2946). @@ -121,7 +122,13 @@ N/A ## Footnotes -[1]: As updated in [MSC1772](https://github.com/matrix-org/matrix-doc/pull/1772).[↩](#a1) +[1]: As updated in [MSC1772](https://github.com/matrix-org/matrix-doc/pull/1772). [↩](#a1) -[2]: This is already sent from Synapse and generally seems useful for -a user to know before joining a room.[↩](#a2) +[2]: The encryption information (`m.room.encryption`) is already sent +from Synapse and generally seems useful for a user to know before joining a room. +[↩](#a2) + +[3]: The room topic (`m.room.topic`) is included as part of the +[room directory](https://matrix.org/docs/spec/client_server/latest#get-matrix-client-r0-publicrooms) +response for public rooms. It is additional to be included as part of [MSC2946](https://github.com/matrix-org/matrix-doc/pull/2946) +in the spaces summary response. [↩](#a3)