summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2017-10-04 12:44:27 +0100
committerDavid Baker <dave@matrix.org>2017-10-04 12:44:27 +0100
commit78d4ced82941ba249b7b16ea72684ade69c6a0d2 (patch)
tree5a510d75e31ab308d1bef3ba320c4584bdcdfbb2 /synapse/handlers/room.py
parentAdd room creation checks to spam checker (diff)
downloadsynapse-78d4ced82941ba249b7b16ea72684ade69c6a0d2.tar.xz
un-double indent
Diffstat (limited to '')
-rw-r--r--synapse/handlers/room.py2
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)