ソースを参照

Apply suggestions from code review

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
pull/3313/head
Chasethechicken 2年前
committed by Chasetheckicken
コミット
0299b74440
署名の抽出に失敗しました
2個のファイルの変更3行の追加3行の削除
  1. +1
    -1
      roles/custom/matrix-bot-draupnir/tasks/setup_install.yml
  2. +2
    -2
      roles/custom/matrix-bot-draupnir/templates/production.yaml.j2

+ 1
- 1
roles/custom/matrix-bot-draupnir/tasks/setup_install.yml ファイルの表示

@@ -17,7 +17,7 @@
- {path: "{{ matrix_bot_draupnir_docker_src_files_path }}", when: "{{ matrix_bot_draupnir_container_image_self_build }}"}
when: "item.when | bool"

- name: Ensure matrix-bot-draupnir is configured
- name: Ensure matrix-bot-draupnir support files installed
ansible.builtin.template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"


+ 2
- 2
roles/custom/matrix-bot-draupnir/templates/production.yaml.j2 ファイルの表示

@@ -248,7 +248,7 @@ web:
# to configure a reverse proxy, see e.g. test/nginx.conf
abuseReporting:
# Whether to enable this feature.
enabled: {{ matrix_bot_draupnir_abuse_reporting_enabled }}
enabled: {{ matrix_bot_draupnir_abuse_reporting_enabled | to_json }}
{% endif %}

# Whether or not to actively poll synapse for abuse reports, to be used
@@ -258,4 +258,4 @@ pollReports: false

# Whether or not new reports, received either by webapi or polling,
# should be printed to our managementRoom.
displayReports: {{ matrix_bot_draupnir_display_reports }}
displayReports: {{ matrix_bot_draupnir_display_reports | to_json }}

読み込み中…
キャンセル
保存