diff options
author | Erik Johnston <erik@matrix.org> | 2019-09-11 13:54:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-11 13:54:50 +0100 |
commit | 57dd41a45b4df5d736e2f30d40926b60f367b500 (patch) | |
tree | b7bb8b4c5d0f79851b6325e2edfceee30ecf6226 /synapse/handlers/_base.py | |
parent | Add test for admin redaction ratelimiting. (diff) | |
download | synapse-57dd41a45b4df5d736e2f30d40926b60f367b500.tar.xz |
Fix comments
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Diffstat (limited to 'synapse/handlers/_base.py')
-rw-r--r-- | synapse/handlers/_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py index 853b72d8e7..d15c6282fb 100644 --- a/synapse/handlers/_base.py +++ b/synapse/handlers/_base.py @@ -105,7 +105,7 @@ class BaseHandler(object): if is_admin_redaction and self.hs.config.rc_admin_redaction: # If we have separate config for admin redactions we use a separate - # ratelimiter. + # ratelimiter allowed, time_allowed = self.admin_redaction_ratelimiter.can_do_action( user_id, time_now, |