summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-05-10 15:54:48 +0100
committerGitHub <noreply@github.com>2017-05-10 15:54:48 +0100
commita3648f84b2b89b58e12453888eef837668e887ae (patch)
treef7ff35644175ef288834143fbecc185147b05f7f /synapse/handlers/room.py
parentMerge pull request #2206 from matrix-org/rav/one_time_key_upload_change_sig (diff)
parentAdd per user ratelimiting overrides (diff)
downloadsynapse-a3648f84b2b89b58e12453888eef837668e887ae.tar.xz
Merge pull request #2208 from matrix-org/erikj/ratelimit_overrid
Add per user ratelimiting overrides
Diffstat (limited to 'synapse/handlers/room.py')
-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 99cb7db0db..d2a0d6520a 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -75,7 +75,7 @@ class RoomCreationHandler(BaseHandler):
         """
         user_id = requester.user.to_string()
 
-        self.ratelimit(requester)
+        yield self.ratelimit(requester)
 
         if "room_alias_name" in config:
             for wchar in string.whitespace: