diff options
author | Eric Eastwood <erice@element.io> | 2023-06-06 16:26:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 16:26:12 -0500 |
commit | 4e6390cb10676d3f621319663587f49baa57bedc (patch) | |
tree | 2166a668c1f6875d49583b4e2acf83f5576bd3af /synapse/federation | |
parent | Add context for when/why to use the `long_retries` option when sending Federa... (diff) | |
download | synapse-4e6390cb10676d3f621319663587f49baa57bedc.tar.xz |
Update error to more plainly explain we can only authorize our own events (#15725)
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/federation_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py index 149351dda0..9425b32507 100644 --- a/synapse/federation/federation_server.py +++ b/synapse/federation/federation_server.py @@ -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( |