summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-03-05 18:41:27 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-03-05 18:41:27 +0000
commitd7dbad3526136cfc9fdbd568635be5016fb637db (patch)
tree531764768f634bb73b1a31f9f5a3a6e3b0ac2aa5 /synapse/handlers/message.py
parentUpdate sample config (diff)
downloadsynapse-d7dbad3526136cfc9fdbd568635be5016fb637db.tar.xz
Split ratelimiters in two (one for events, one for registration)
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r--synapse/handlers/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index c762b58902..120aa0d017 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -224,7 +224,7 @@ class EventCreationHandler(object):
         self.profile_handler = hs.get_profile_handler()
         self.event_builder_factory = hs.get_event_builder_factory()
         self.server_name = hs.hostname
-        self.ratelimiter = hs.get_ratelimiter()
+        self.ratelimiter = hs.get_events_ratelimiter()
         self.notifier = hs.get_notifier()
         self.config = hs.config