Skip to content

Commit d069ca2

Browse files
committed
Also include the room topic.
1 parent 3fe5ca9 commit d069ca2

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

proposals/3173-expose-stripped-state-events.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,13 @@ should consider this MSC, for example:
8080
Additionally, it is recommended, but not required, that homeserver implementations
8181
include the following as stripped state events:
8282

83-
* Create event (`m.room.create`)<sup id="a1">[2](#f1)</sup>
83+
* Create event (`m.room.create`)<sup id="a1">[1](#f1)</sup>
8484
* Join rules (`m.room.join_rules`)
8585
* Canonical alias (`m.room.canonical_alias`)
8686
* Room avatar (`m.room.avatar`)
8787
* Room name (`m.room.name`)
88-
* Encryption information (`m.room.encryption`)<sup id="a2">[3](#f2)</sup>
88+
* Encryption information (`m.room.encryption`)<sup id="a2">[2](#f2)</sup>
89+
* Room topic (`m.room.topic`)<sup id="a3">[3](#f3)</sup>
8990

9091
This also implies that the above information is available to any potential joiner
9192
in the API proposed in [MSC2946: Spaces summary](https://github.com/matrix-org/matrix-doc/pull/2946).
@@ -121,7 +122,13 @@ N/A
121122

122123
## Footnotes
123124

124-
<a id="f1"/>[1]: As updated in [MSC1772](https://github.com/matrix-org/matrix-doc/pull/1772).[](#a1)
125+
<a id="f1"/>[1]: As updated in [MSC1772](https://github.com/matrix-org/matrix-doc/pull/1772). [](#a1)
125126

126-
<a id="f2"/>[2]: This is already sent from Synapse and generally seems useful for
127-
a user to know before joining a room.[](#a2)
127+
<a id="f2"/>[2]: The encryption information (`m.room.encryption`) is already sent
128+
from Synapse and generally seems useful for a user to know before joining a room.
129+
[](#a2)
130+
131+
<a id="f3"/>[3]: The room topic (`m.room.topic`) is included as part of the
132+
[room directory](https://matrix.org/docs/spec/client_server/latest#get-matrix-client-r0-publicrooms)
133+
response for public rooms. It is additional to be included as part of [MSC2946](https://github.com/matrix-org/matrix-doc/pull/2946)
134+
in the spaces summary response. [](#a3)

0 commit comments

Comments
 (0)