diff options
author | Erik Johnston <erik@matrix.org> | 2019-01-24 18:31:23 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-01-24 18:31:23 +0000 |
commit | d148c43050f7a85523a743ff6069683c644a517d (patch) | |
tree | 4a87175747cbca6b310e5ad83b8ee18d7dbd7700 /synapse/federation | |
parent | Newsfile (diff) | |
download | synapse-d148c43050f7a85523a743ff6069683c644a517d.tar.xz |
Review comments
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/federation_client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py index 4e171f9b56..7fb5736142 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py @@ -674,7 +674,8 @@ class FederationClient(FederationBase): break if room_version is None: - # We use this error has that is what + # If the state doesn't have a create event then the room is + # invalid, and it would fail auth checks anyway. raise SynapseError(400, "No create event in state") valid_pdus = yield self._check_sigs_and_hash_and_fetch( |