mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-15 23:50:21 -04:00
Add option to allow anyone to use timestamp massaging
This commit is contained in:
parent
39fa6cc01d
commit
f279a43dc8
3 changed files with 15 additions and 3 deletions
|
@ -27,6 +27,7 @@ class MeowConfig(Config):
|
|||
meow_config = config.get("meow", {})
|
||||
self.validation_override = set(meow_config.get("validation_override", []))
|
||||
self.filter_override = set(meow_config.get("filter_override", []))
|
||||
self.timestamp_override = set(meow_config.get("timestamp_override", []))
|
||||
self.admin_api_register_invalid = meow_config.get("admin_api_register_invalid", True)
|
||||
|
||||
def generate_config_section(self, config_dir_path, server_name, **kwargs):
|
||||
|
@ -40,6 +41,9 @@ class MeowConfig(Config):
|
|||
# # List of users who will get org.matrix.dummy_event and m.room.aliases events down /sync
|
||||
# filter_override:
|
||||
# - "@you:example.com"
|
||||
# # List of users who can use timestamp massaging without being appservices
|
||||
# timestamp_override:
|
||||
# - "@you:example.com"
|
||||
# # Whether or not the admin API should be able to register invalid user IDs.
|
||||
# admin_api_register_invalid: true
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue