You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
recommends including the `m.room.create` event as one of the stripped state events:
54
54
55
-
> Join rules, invites and 3PID invites work as for a normal room, with the exception
55
+
> Join rules, invites and 3PID invites work as for a normal room, with the exception
56
56
> that `invite_state` sent along with invites should be amended to include the
57
-
> `m.room.create` event, to allow clients to discern whether an invite is to a
57
+
> `m.room.create` event, to allow clients to discern whether an invite is to a
58
58
> space-room or not.
59
59
60
60
## Proposal
@@ -67,7 +67,7 @@ the following mechanisms:
67
67
* A room that has `join_rules` set to `public` or `knock`.<supid="a1">[1](#f1)</sup>
68
68
* A room that the user is in possession of an invite to (regardless of the `join_rules`).
69
69
70
-
Future MSCs might include additional mechanism for a user to join a room and
70
+
Future MSCs might include additional mechanism for a user to join a room and
71
71
should consider this MSC, for example:
72
72
73
73
*[MSC3083: Restricting room membership based on space membership](https://github.com/matrix-org/matrix-doc/pull/3083) proposes allowing users to join a room based on their membership in a space (as defined in [MSC1772](https://github.com/matrix-org/matrix-doc/pull/1772)).
@@ -82,8 +82,8 @@ include the following as stripped state events:
82
82
* Room name (`m.room.name`)
83
83
* Encrypted status (`m.room.encryption`)<supid="a3">[3](#f3)</sup>
84
84
85
-
This also implies that the above information is available to any potential joiner
86
-
in the API proposed in [MSC2946: Spaces summary](https://github.com/matrix-org/matrix-doc/pull/2946).
85
+
This also implies that the above information is available to any potential joiner
86
+
in the API proposed in [MSC2946: Spaces summary](https://github.com/matrix-org/matrix-doc/pull/2946).
87
87
I.e. rooms which could be joined due to [MSC3083](https://github.com/matrix-org/matrix-doc/pull/3083)
88
88
can expose the information available in stripped state events.
89
89
@@ -106,20 +106,20 @@ calling server to properly filter this information.
106
106
107
107
Consider that Alice and Bob share a server; Alice is a member of a space, but Bob
108
108
is not. The remote server will not know whether the request is on behalf of Alice
109
-
or Bob (and hence whether it should share details of private rooms within that
109
+
or Bob (and hence whether it should share details of private rooms within that
110
110
space).
111
111
112
112
Trust is placed in the calling server: if there are any users on the calling
113
113
server in the correct space, that calling server has a right to know about the
114
-
rooms in that space and should return the relevant summaries, along with enough
114
+
rooms in that space and should return the relevant summaries, along with enough
115
115
information that the calling server can then do some filtering.
116
116
117
-
(The alternative, where the calling server sends the requesting `user_id`, and
117
+
(The alternative, where the calling server sends the requesting `user_id`, and
118
118
the target server does the filtering, is unattractive because it rules out a
119
119
future world where the calling server can cache the result.)
120
120
121
-
This does not decrease security since a server could lie and make a request on
122
-
behalf of a user in the proper space to see the given information. I.e. the
121
+
This does not decrease security since a server could lie and make a request on
122
+
behalf of a user in the proper space to see the given information. I.e. the
0 commit comments