mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Update error to more plainly explain we can only authorize our own events (#15725)
This commit is contained in:
parent
33c3550887
commit
4e6390cb10
2 changed files with 2 additions and 1 deletions
1
changelog.d/15725.misc
Normal file
1
changelog.d/15725.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Update federation error to more plainly explain we can only authorize our own membership events.
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue