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/profile.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/profile.py')
-rw-r--r-- | synapse/handlers/profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py index 9bf638f818..7abee98dea 100644 --- a/synapse/handlers/profile.py +++ b/synapse/handlers/profile.py @@ -156,7 +156,7 @@ class ProfileHandler(BaseHandler): if not self.hs.is_mine(user): return - self.ratelimit(requester) + yield self.ratelimit(requester) room_ids = yield self.store.get_rooms_for_user( user.to_string(), |