diff options
author | Erik Johnston <erik@matrix.org> | 2015-09-01 15:42:03 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-09-01 15:42:03 +0100 |
commit | 00149c063b8f81548bd3eefd3e497acc03512d35 (patch) | |
tree | a41369fc96299f7e0669b67a7f793296ba9c7961 /synapse/api | |
parent | Check room exists when authenticating an event, by asserting they reference a... (diff) | |
download | synapse-00149c063b8f81548bd3eefd3e497acc03512d35.tar.xz |
Fix tests
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 410f4c11e7..df7fb6aab7 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -69,7 +69,7 @@ class Auth(object): if not creation_event: raise SynapseError( - 400, + 403, "Room %r does not exist" % (event.room_id,) ) |