mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 13:18:45 -05:00
rate limiting for message sending
This commit is contained in:
parent
0a1260b03a
commit
780548b577
4 changed files with 7 additions and 4 deletions
|
|
@ -49,6 +49,7 @@ class RoomCreationHandler(BaseRoomHandler):
|
|||
SynapseError if the room ID was taken, couldn't be stored, or
|
||||
something went horribly wrong.
|
||||
"""
|
||||
self.ratelimit(user_id)
|
||||
|
||||
if "room_alias_name" in config:
|
||||
room_alias = RoomAlias.create_local(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue