From 703d3fa81fd59f7521c3a6b35dd558a3a74e5448 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 17 Mar 2026 13:36:51 -0600 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com> Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> --- content/server-server-api.md | 8 ++++---- data/api/client-server/policy_server.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/server-server-api.md b/content/server-server-api.md index f1145e6e..55ca5da3 100644 --- a/content/server-server-api.md +++ b/content/server-server-api.md @@ -1277,10 +1277,10 @@ endpoint MUST be protected as follows: room ID MUST be ignored if the sending server is denied access to the room identified by that ID. -{{< added-in v="1.18" >}} The following endpoints MAY be protected: +The following endpoints MAY be protected: -- [`/_matrix/policy/v1/sign`](#post_matrixpolicyv1sign) - Protected if the server - is tracking the DAG and chooses to enforce the ACL. +- [`/_matrix/policy/v1/sign`](#post_matrixpolicyv1sign) - {{< added-in v="1.18" >}} + Protected if the server is tracking the DAG and chooses to enforce the ACL. ## Policy Servers @@ -1396,7 +1396,7 @@ allow rooms to revoke the Policy Server's key without cooperation of the Policy Server. If the Policy Server is acting as a normal homeserver and attempting to send an -event, that event will require the a signature from the server's published signing +event, that event will require a signature from the server's published signing key alongside the Policy Server signature described in this section. {{% /boxes/warning %}} diff --git a/data/api/client-server/policy_server.yaml b/data/api/client-server/policy_server.yaml index 98b7f47e..5379ea2b 100644 --- a/data/api/client-server/policy_server.yaml +++ b/data/api/client-server/policy_server.yaml @@ -24,7 +24,7 @@ paths: {{% boxes/note %}} Like the [well-known discovery URI](/client-server-api/#well-known-uris), - this endpoint should be accessed with the hostname of the homeserver's + this endpoint should be accessed with the hostname of the Policy Server's [server name](/appendices/#server-name) by making a GET request to `https://hostname/.well-known/matrix/policy_server`. {{% /boxes/note %}}