mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-11-04 00:58:56 +01:00 
			
		
		
		
	Merge pull request #1567 from aaronraimist/antispam
Upgrade synapse-simple-antispam (0.0.3 -> 0.0.7)
This commit is contained in:
		@@ -517,7 +517,7 @@ matrix_synapse_ext_password_provider_ldap_default_domain: ""
 | 
			
		||||
# See: https://github.com/t2bot/synapse-simple-antispam
 | 
			
		||||
matrix_synapse_ext_spam_checker_synapse_simple_antispam_enabled: false
 | 
			
		||||
matrix_synapse_ext_spam_checker_synapse_simple_antispam_git_repository_url: "https://github.com/t2bot/synapse-simple-antispam"
 | 
			
		||||
matrix_synapse_ext_spam_checker_synapse_simple_antispam_git_version: "923ca5c85b08f157181721abbae50dd89c31e4b5"
 | 
			
		||||
matrix_synapse_ext_spam_checker_synapse_simple_antispam_git_version: "5ab711971e3a4541a7a40310ff85e17f8262cc05"
 | 
			
		||||
matrix_synapse_ext_spam_checker_synapse_simple_antispam_config_blocked_homeservers: []
 | 
			
		||||
 | 
			
		||||
# Enable this to activate the Mjolnir Antispam spam-checker module.
 | 
			
		||||
@@ -580,6 +580,8 @@ matrix_synapse_default_room_version: "6"
 | 
			
		||||
# If not, you can also control its value manually.
 | 
			
		||||
matrix_synapse_spam_checker: []
 | 
			
		||||
 | 
			
		||||
matrix_synapse_modules: []
 | 
			
		||||
 | 
			
		||||
matrix_synapse_encryption_enabled_by_default_for_room_type: off
 | 
			
		||||
 | 
			
		||||
matrix_synapse_trusted_key_servers:
 | 
			
		||||
 
 | 
			
		||||
@@ -38,8 +38,8 @@
 | 
			
		||||
  become_user: "{{ matrix_user_username }}"
 | 
			
		||||
 | 
			
		||||
- set_fact:
 | 
			
		||||
    matrix_synapse_spam_checker: >
 | 
			
		||||
      {{ matrix_synapse_spam_checker }}
 | 
			
		||||
    matrix_synapse_modules: >
 | 
			
		||||
      {{ matrix_synapse_modules }}
 | 
			
		||||
      +
 | 
			
		||||
      [{
 | 
			
		||||
        "module": "synapse_simple_antispam.AntiSpamInvites",
 | 
			
		||||
 
 | 
			
		||||
@@ -15,12 +15,13 @@
 | 
			
		||||
# See https://matrix-org.github.io/synapse/latest/modules/index.html for more
 | 
			
		||||
# documentation on how to configure or create custom modules for Synapse.
 | 
			
		||||
#
 | 
			
		||||
modules:
 | 
			
		||||
#modules:
 | 
			
		||||
    # - module: my_super_module.MySuperClass
 | 
			
		||||
    #   config:
 | 
			
		||||
    #       do_thing: true
 | 
			
		||||
    # - module: my_other_super_module.SomeClass
 | 
			
		||||
    #   config: {}
 | 
			
		||||
modules: {{ matrix_synapse_modules|to_json }}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Server ##
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user