From c99c1051589a8370ae955bc21695343f87d6b8c1 Mon Sep 17 00:00:00 2001 From: Amber Brown Date: Mon, 20 May 2019 17:01:50 -0500 Subject: SHHS - Room Join Complexity (#5072) --- docs/sample_config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/sample_config.yaml') diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index d218aefee5..3388a2d513 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -271,6 +271,17 @@ listeners: # Used by phonehome stats to group together related servers. #server_context: context +# Resource-constrained Homeserver Settings +# +# If limit_large_remote_room_joins is True, the room complexity will be +# checked before a user joins a new remote room. If it is above +# limit_large_remote_room_complexity, it will disallow joining or +# instantly leave. +# +# Uncomment the below lines to enable: +#limit_large_remote_room_joins: True +#limit_large_remote_room_complexity: 1.0 + # Whether to require a user to be in the room to add an alias to it. # Defaults to 'true'. # -- cgit 1.5.1