Add per user ratelimiting overrides

This commit is contained in:
Erik Johnston 2017-05-10 11:05:43 +01:00
parent ca238bc023
commit b990b2fce5
6 changed files with 93 additions and 19 deletions

View file

@ -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: