소스 검색

Use |to_json

pull/1884/head
Slavi Pantaleev 4 년 전
committed by GitHub
부모
커밋
5987589436
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 2
- 2
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 파일 보기

@@ -1050,10 +1050,10 @@ max_upload_size: "{{ matrix_synapse_max_upload_size_mb }}M"

media_retention:
{% if matrix_synapse_media_retention_local_media_lifetime|length > 0 %}
local_media_lifetime: "{{ matrix_synapse_media_retention_local_media_lifetime }}"
local_media_lifetime: {{ matrix_synapse_media_retention_local_media_lifetime|to_json }}
{% endif %}
{% if matrix_synapse_media_retention_remote_media_lifetime|length > 0 %}
remote_media_lifetime: "{{ matrix_synapse_media_retention_remote_media_lifetime }}"
remote_media_lifetime: {{ matrix_synapse_media_retention_remote_media_lifetime|to_json }}
{% endif %}

# Maximum number of pixels that will be thumbnailed


불러오는 중...
취소
저장