소스 검색

Add support for configuring Synapse spam_checker setting

pull/247/head
Slavi Pantaleev 6 년 전
부모
커밋
4b1e9a4827
2개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. +6
    -0
      roles/matrix-synapse/defaults/main.yml
  2. +1
    -1
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 6
- 0
roles/matrix-synapse/defaults/main.yml 파일 보기

@@ -296,6 +296,12 @@ matrix_synapse_room_list_publication_rules:

matrix_synapse_default_room_version: "4"

# Controls the Synapse `spam_checker` setting.
#
# If a spam-checker extension is enabled, this variable's value is set automatically by the playbook during runtime.
# If not, you can also control its value manually.
matrix_synapse_spam_checker: ~

# Default Synapse configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#


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

@@ -1319,7 +1319,7 @@ push:
# module: "my_custom_project.SuperSpamChecker"
# config:
# example_option: 'things'
spam_checker: {{ matrix_synapse_spam_checker|to_json }}

# Uncomment to allow non-server-admin users to create groups on this server
#


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