Преглед изворни кода

Apply suggestions from code review

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
pull/3313/head
Chasethechicken пре 1 година
committed by Chasetheckicken
родитељ
комит
0299b74440
Failed to extract signature
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 }}

Loading…
Откажи
Сачувај