mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 08:34:07 -04:00
remove need to plot limit_usage_by_mau
This commit is contained in:
parent
6023cdd227
commit
2c54f1c225
2 changed files with 6 additions and 7 deletions
|
@ -69,9 +69,12 @@ class ServerConfig(Config):
|
|||
|
||||
# Options to control access by tracking MAU
|
||||
self.limit_usage_by_mau = config.get("limit_usage_by_mau", False)
|
||||
self.max_mau_value = config.get(
|
||||
"max_mau_value", 0,
|
||||
)
|
||||
if self.limit_usage_by_mau:
|
||||
self.max_mau_value = config.get(
|
||||
"max_mau_value", 0,
|
||||
)
|
||||
else:
|
||||
self.max_mau_value = 0
|
||||
# FIXME: federation_domain_whitelist needs sytests
|
||||
self.federation_domain_whitelist = None
|
||||
federation_domain_whitelist = config.get(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue