diff options
author | Erik Johnston <erikj@jki.re> | 2017-05-10 15:54:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 15:54:48 +0100 |
commit | a3648f84b2b89b58e12453888eef837668e887ae (patch) | |
tree | f7ff35644175ef288834143fbecc185147b05f7f /synapse/handlers/room.py | |
parent | Merge pull request #2206 from matrix-org/rav/one_time_key_upload_change_sig (diff) | |
parent | Add per user ratelimiting overrides (diff) | |
download | synapse-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.py | 2 |
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: |