1
0

Update error to more plainly explain we can only authorize our own events (#15725)

This commit is contained in:
Eric Eastwood
2023-06-06 16:26:12 -05:00
committed by GitHub
parent 33c3550887
commit 4e6390cb10
2 changed files with 2 additions and 1 deletions

1
changelog.d/15725.misc Normal file
View File

@@ -0,0 +1 @@
Update federation error to more plainly explain we can only authorize our own membership events.

View File

@@ -944,7 +944,7 @@ class FederationServer(FederationBase):
if not self._is_mine_server_name(authorising_server):
raise SynapseError(
400,
f"Cannot authorise request from resident server: {authorising_server}",
f"Cannot authorise membership event for {authorising_server}. We can only authorise requests from our own homeserver",
)
event.signatures.update(