diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-07-30 02:47:27 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-30 02:47:27 +1000 |
commit | 865077f1d1f4866ab874c56b70abbd426fedfb97 (patch) | |
tree | c99263c240db2b00d304ef60fb5272774aa9b15a /docs/sample_config.yaml | |
parent | Merge pull request #5774 from matrix-org/erikj/fix_rejected_membership (diff) | |
download | synapse-865077f1d1f4866ab874c56b70abbd426fedfb97.tar.xz |
Room Complexity Client Implementation (#5783)
Diffstat (limited to 'docs/sample_config.yaml')
-rw-r--r-- | docs/sample_config.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index 7edf15207a..b92959692d 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -278,6 +278,23 @@ listeners: # Used by phonehome stats to group together related servers. #server_context: context +# Resource-constrained Homeserver Settings +# +# If limit_remote_rooms.enabled is True, the room complexity will be +# checked before a user joins a new remote room. If it is above +# limit_remote_rooms.complexity, it will disallow joining or +# instantly leave. +# +# limit_remote_rooms.complexity_error can be set to customise the text +# displayed to the user when a room above the complexity threshold has +# its join cancelled. +# +# Uncomment the below lines to enable: +#limit_remote_rooms: +# enabled: True +# complexity: 1.0 +# complexity_error: "This room is too complex." + # Whether to require a user to be in the room to add an alias to it. # Defaults to 'true'. # |