This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix indentation in default config (#4313)
These settings are not supposed to be under 'listeners'.
- Loading branch information
Showing
2 changed files
with
36 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix indentation in default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -356,41 +356,41 @@ def default_config(self, server_name, **kwargs): | |
# type: manhole | ||
# Homeserver blocking | ||
# | ||
# How to reach the server admin, used in ResourceLimitError | ||
# admin_contact: 'mailto:[email protected]' | ||
# | ||
# Global block config | ||
# | ||
# hs_disabled: False | ||
# hs_disabled_message: 'Human readable reason for why the HS is blocked' | ||
# hs_disabled_limit_type: 'error code(str), to help clients decode reason' | ||
# | ||
# Monthly Active User Blocking | ||
# | ||
# Enables monthly active user checking | ||
# limit_usage_by_mau: False | ||
# max_mau_value: 50 | ||
# mau_trial_days: 2 | ||
# | ||
# 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 | ||
# is true, this is implied to be true. | ||
# mau_stats_only: False | ||
# | ||
# Sometimes the server admin will want to ensure certain accounts are | ||
# never blocked by mau checking. These accounts are specified here. | ||
# | ||
# mau_limit_reserved_threepids: | ||
# - medium: 'email' | ||
# address: '[email protected]' | ||
# | ||
# Room searching | ||
# | ||
# If disabled, new messages will not be indexed for searching and users | ||
# will receive errors when searching for messages. Defaults to enabled. | ||
# enable_search: true | ||
# Homeserver blocking | ||
# | ||
# How to reach the server admin, used in ResourceLimitError | ||
# admin_contact: 'mailto:[email protected]' | ||
# | ||
# Global block config | ||
# | ||
# hs_disabled: False | ||
# hs_disabled_message: 'Human readable reason for why the HS is blocked' | ||
# hs_disabled_limit_type: 'error code(str), to help clients decode reason' | ||
# | ||
# Monthly Active User Blocking | ||
# | ||
# Enables monthly active user checking | ||
# limit_usage_by_mau: False | ||
# max_mau_value: 50 | ||
# mau_trial_days: 2 | ||
# | ||
# 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 | ||
# is true, this is implied to be true. | ||
# mau_stats_only: False | ||
# | ||
# Sometimes the server admin will want to ensure certain accounts are | ||
# never blocked by mau checking. These accounts are specified here. | ||
# | ||
# mau_limit_reserved_threepids: | ||
# - medium: 'email' | ||
# address: '[email protected]' | ||
# | ||
# Room searching | ||
# | ||
# If disabled, new messages will not be indexed for searching and users | ||
# will receive errors when searching for messages. Defaults to enabled. | ||
# enable_search: true | ||
""" % locals() | ||
|
||
def read_arguments(self, args): | ||
|