diff options
author | David Baker <dave@matrix.org> | 2017-10-04 12:44:27 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2017-10-04 12:44:27 +0100 |
commit | 78d4ced82941ba249b7b16ea72684ade69c6a0d2 (patch) | |
tree | 5a510d75e31ab308d1bef3ba320c4584bdcdfbb2 /synapse | |
parent | Add room creation checks to spam checker (diff) | |
download | synapse-78d4ced82941ba249b7b16ea72684ade69c6a0d2.tar.xz |
un-double indent
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index f909ea04f0..535ba9517c 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -81,7 +81,7 @@ class RoomCreationHandler(BaseHandler): user_id = requester.user.to_string() if not self.spam_checker.user_may_create_room(user_id): - raise SynapseError(403, "You are not permitted to create rooms") + raise SynapseError(403, "You are not permitted to create rooms") if ratelimit: yield self.ratelimit(requester) |