diff options
author | Erik Johnston <erik@matrix.org> | 2018-08-23 19:17:08 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-08-23 19:17:19 +0100 |
commit | cd77270a669fa827912efd86a0723d85e9e388ed (patch) | |
tree | f0ce984b18edf485afdcaad54bbe52c5aa8c2659 /synapse/config/server.py | |
parent | Merge pull request #3747 from matrix-org/erikj/fix_multiple_sends_notice (diff) | |
download | synapse-cd77270a669fa827912efd86a0723d85e9e388ed.tar.xz |
Implement trail users
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r-- | synapse/config/server.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index 68a612e594..8eecd28e7d 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -77,10 +77,15 @@ class ServerConfig(Config): self.max_mau_value = config.get( "max_mau_value", 0, ) + self.mau_limits_reserved_threepids = config.get( "mau_limit_reserved_threepids", [] ) + self.mau_trial_days = config.get( + "mau_trial_days", 0, + ) + # Options to disable HS self.hs_disabled = config.get("hs_disabled", False) self.hs_disabled_message = config.get("hs_disabled_message", "") @@ -365,6 +370,7 @@ class ServerConfig(Config): # Enables monthly active user checking # limit_usage_by_mau: False # max_mau_value: 50 + # mau_trial_days: 2 # # Sometimes the server admin will want to ensure certain accounts are # never blocked by mau checking. These accounts are specified here. |