mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Update error to more plainly explain we can only authorize our own events (#15725)
This commit is contained in:
parent
33c3550887
commit
4e6390cb10
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):
|
if not self._is_mine_server_name(authorising_server):
|
||||||
raise SynapseError(
|
raise SynapseError(
|
||||||
400,
|
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(
|
event.signatures.update(
|
||||||
|
Loading…
Reference in New Issue
Block a user