forked from ungleich-public/cdist-contrib
[__matrix_synapse] fix typo in complexity threshold handling
This commit is contained in:
parent
b3f5244cd6
commit
4e37bc2245
3 changed files with 5 additions and 5 deletions
|
@ -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.
|
||||
#
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue