mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 00:09:26 -05:00
Fix indentation in default config (#4313)
These settings are not supposed to be under 'listeners'.
This commit is contained in:
parent
ea6abf6724
commit
f3561f8d86
1
changelog.d/4313.bugfix
Normal file
1
changelog.d/4313.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix indentation in default config
|
@ -356,41 +356,41 @@ class ServerConfig(Config):
|
|||||||
# type: manhole
|
# type: manhole
|
||||||
|
|
||||||
|
|
||||||
# Homeserver blocking
|
# Homeserver blocking
|
||||||
#
|
#
|
||||||
# How to reach the server admin, used in ResourceLimitError
|
# How to reach the server admin, used in ResourceLimitError
|
||||||
# admin_contact: 'mailto:admin@server.com'
|
# admin_contact: 'mailto:admin@server.com'
|
||||||
#
|
#
|
||||||
# Global block config
|
# Global block config
|
||||||
#
|
#
|
||||||
# hs_disabled: False
|
# hs_disabled: False
|
||||||
# hs_disabled_message: 'Human readable reason for why the HS is blocked'
|
# hs_disabled_message: 'Human readable reason for why the HS is blocked'
|
||||||
# hs_disabled_limit_type: 'error code(str), to help clients decode reason'
|
# hs_disabled_limit_type: 'error code(str), to help clients decode reason'
|
||||||
#
|
#
|
||||||
# Monthly Active User Blocking
|
# Monthly Active User Blocking
|
||||||
#
|
#
|
||||||
# Enables monthly active user checking
|
# Enables monthly active user checking
|
||||||
# limit_usage_by_mau: False
|
# limit_usage_by_mau: False
|
||||||
# max_mau_value: 50
|
# max_mau_value: 50
|
||||||
# mau_trial_days: 2
|
# mau_trial_days: 2
|
||||||
#
|
#
|
||||||
# If enabled, the metrics for the number of monthly active users will
|
# If enabled, the metrics for the number of monthly active users will
|
||||||
# be populated, however no one will be limited. If limit_usage_by_mau
|
# be populated, however no one will be limited. If limit_usage_by_mau
|
||||||
# is true, this is implied to be true.
|
# is true, this is implied to be true.
|
||||||
# mau_stats_only: False
|
# mau_stats_only: False
|
||||||
#
|
#
|
||||||
# Sometimes the server admin will want to ensure certain accounts are
|
# Sometimes the server admin will want to ensure certain accounts are
|
||||||
# never blocked by mau checking. These accounts are specified here.
|
# never blocked by mau checking. These accounts are specified here.
|
||||||
#
|
#
|
||||||
# mau_limit_reserved_threepids:
|
# mau_limit_reserved_threepids:
|
||||||
# - medium: 'email'
|
# - medium: 'email'
|
||||||
# address: 'reserved_user@example.com'
|
# address: 'reserved_user@example.com'
|
||||||
#
|
#
|
||||||
# Room searching
|
# Room searching
|
||||||
#
|
#
|
||||||
# If disabled, new messages will not be indexed for searching and users
|
# If disabled, new messages will not be indexed for searching and users
|
||||||
# will receive errors when searching for messages. Defaults to enabled.
|
# will receive errors when searching for messages. Defaults to enabled.
|
||||||
# enable_search: true
|
# enable_search: true
|
||||||
""" % locals()
|
""" % locals()
|
||||||
|
|
||||||
def read_arguments(self, args):
|
def read_arguments(self, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user