Skip to content

Commit

Permalink
Remove unused policy room sharing mechanism, as per MSC3844 (#1196)
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Aug 3, 2022
1 parent dc4fd9b commit 3c45c0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1196.removal
@@ -0,0 +1 @@
Remove unused policy room sharing mechanism, as per [MSC3844](https://github.com/matrix-org/matrix-spec-proposals/pull/3844).
12 changes: 0 additions & 12 deletions content/client-server-api/modules/moderation_policies.md
Expand Up @@ -76,18 +76,6 @@ joining or peeking the room. Joining or peeking is not required,
however: an implementation could poll for updates or use a different
technique for receiving updates to the policy's rules.

#### Sharing

In addition to sharing a direct reference to the room which contains the
policy's rules, plain http or https URLs can be used to share links to
the list. When the URL is approached with a `Accept: application/json`
header or has `.json` appended to the end of the URL, it should return a
JSON object containing a `room_uri` property which references the room.
Currently this would be a `matrix.to` URI, however in future it could be
a Matrix-schemed URI instead. When not approached with the intent of
JSON, the service could return a user-friendly page describing what is
included in the ban list.

#### Events

The `entity` described by the state events can contain `*` and `?` to
Expand Down

0 comments on commit 3c45c0a

Please sign in to comment.