From 4e37bc2245cad8d37a8a2489a480d9b83b087769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Wed, 24 Feb 2021 14:36:00 +0100 Subject: [PATCH] [__matrix_synapse] fix typo in complexity threshold handling --- type/__matrix_synapse/files/homeserver.yaml.sh | 4 ++-- type/__matrix_synapse/manifest | 4 ++-- type/__matrix_synapse/parameter/optional | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/type/__matrix_synapse/files/homeserver.yaml.sh b/type/__matrix_synapse/files/homeserver.yaml.sh index eea3284..0ad3c42 100755 --- a/type/__matrix_synapse/files/homeserver.yaml.sh +++ b/type/__matrix_synapse/files/homeserver.yaml.sh @@ -392,11 +392,11 @@ limit_remote_rooms: # the limit above which rooms cannot be joined. The default is 1.0. # - complexity: ${REMOTE_ROOM_COMPLEXITY_TRESHOLD:?} + complexity: ${REMOTE_ROOM_COMPLEXITY_THRESHOLD:?} # override the error which is returned when the room is too complex. # - complexity_error: "This room is too complex." + complexity_error: "This room is too complex - local complexity policy prevents you from joing." # allow server admins to join complex rooms. Default is false. # diff --git a/type/__matrix_synapse/manifest b/type/__matrix_synapse/manifest index 644258f..91e92a1 100755 --- a/type/__matrix_synapse/manifest +++ b/type/__matrix_synapse/manifest @@ -210,9 +210,9 @@ fi ALLOW_PUBLIC_ROOMS_OVER_FEDERATION=$(get_boolean_for 'allow-public-room-over-federation') ALLOW_PUBLIC_ROOMS_WITHOUT_AUTH=$(get_boolean_for 'allow-public-rooms-without-auth') LIMIT_REMOTE_ROOM_COMPLEXITY=$(get_boolean_for 'limit-remote-room-complexity') -REMOTE_ROOM_COMPLEXITY_TRESHOLD=$(cat "$__object/parameter/remote-room-complexity-treshold") +REMOTE_ROOM_COMPLEXITY_THRESHOLD=$(cat "$__object/parameter/remote-room-complexity-threshold") export ALLOW_PUBLIC_ROOMS_OVER_FEDERATION ALLOW_PUBLIC_ROOMS_WITHOUT_AUTH \ - LIMIT_REMOTE_ROOM_COMPLEXITY REMOTE_ROOM_COMPLEXITY_TRESHOLD + LIMIT_REMOTE_ROOM_COMPLEXITY REMOTE_ROOM_COMPLEXITY_THRESHOLD if [ -f "$__object/parameter/disable-federation" ]; then export DISABLE_FEDERATION=1 diff --git a/type/__matrix_synapse/parameter/optional b/type/__matrix_synapse/parameter/optional index 2f0bce4..a616538 100644 --- a/type/__matrix_synapse/parameter/optional +++ b/type/__matrix_synapse/parameter/optional @@ -23,7 +23,7 @@ rc-login-per-second rc-login-burst global-cache-factor event-cache-size -remote-room-complexity-treshold +remote-room-complexity-threshold room-encryption-policy notification-from message-max-lifetime