瀏覽代碼

Add some parenthesis in if statement

pull/3038/head
Slavi Pantaleev 2 年之前
committed by GitHub
父節點
當前提交
abd0823554
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      roles/custom/matrix-media-repo/defaults/main.yml

+ 1
- 1
roles/custom/matrix-media-repo/defaults/main.yml 查看文件

@@ -166,7 +166,7 @@ matrix_media_repo_homeservers_auto:
# during certain operations, like attempting to purge media from a room or validating server
# admin status. This should be set to one of "synapse", "dendrite", or "matrix". When set
# to "matrix", most functionality requiring the admin API will not work.
adminApiKind: "{{ 'synapse' if matrix_homeserver_implementation == 'synapse' else 'dendrite' if matrix_homeserver_implementation == 'dendrite' else 'matrix' }}"
adminApiKind: "{{ 'synapse' if matrix_homeserver_implementation == 'synapse' else ('dendrite' if matrix_homeserver_implementation == 'dendrite' else 'matrix') }}"

# Additional servers to be managed by MMR
matrix_media_repo_homeservers_additional: []


Loading…
取消
儲存