Skip to content

Commit

Permalink
Remove unused policy room sharing mechanism, as per MSC3844
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Aug 2, 2022
1 parent b36d4ef commit 65c5b95
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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 65c5b95

Please sign in to comment.