diff options
author | Erik Johnston <erik@matrix.org> | 2017-05-10 11:05:43 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-05-10 11:05:43 +0100 |
commit | b990b2fce5bb96c1c8eebcb0525ffcd011a22556 (patch) | |
tree | cd571758a5d13ea8e63c01b648cc5ba02a6676e5 /synapse/handlers/profile.py | |
parent | Merge branch 'release-v0.21.0' of github.com:matrix-org/synapse into develop (diff) | |
download | synapse-b990b2fce5bb96c1c8eebcb0525ffcd011a22556.tar.xz |
Add per user ratelimiting overrides
Diffstat (limited to '')
-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(), |