mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:36:02 -04:00
Add per user ratelimiting overrides
This commit is contained in:
parent
ca238bc023
commit
b990b2fce5
6 changed files with 93 additions and 19 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue