From 940c4d999e4ec1e42e4a68c29e1f03db1245eddb Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Fri, 4 Mar 2022 17:12:42 +0100
Subject: [PATCH] matrix: Update mjolnir to v1.3.2

---
 roles/matrix/tasks/main.yml               | 2 +-
 roles/matrix/templates/homeserver.yaml.j2 | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/roles/matrix/tasks/main.yml b/roles/matrix/tasks/main.yml
index f92e73437..077c6dd05 100644
--- a/roles/matrix/tasks/main.yml
+++ b/roles/matrix/tasks/main.yml
@@ -105,7 +105,7 @@
   git:
     repo: https://github.com/matrix-org/mjolnir
     dest: /var/lib/synapse/mjolnir
-    version: v1.3.1
+    version: v1.3.2
   become: true
   become_user: synapse
   become_method: sudo
diff --git a/roles/matrix/templates/homeserver.yaml.j2 b/roles/matrix/templates/homeserver.yaml.j2
index 67a4449df..2ee384147 100644
--- a/roles/matrix/templates/homeserver.yaml.j2
+++ b/roles/matrix/templates/homeserver.yaml.j2
@@ -35,9 +35,7 @@ modules:
   #    do_thing: true
   #- module: my_other_super_module.SomeClass
   #  config: {}
-
-spam_checker:
-  - module: mjolnir.AntiSpam
+  - module: mjolnir.Module
     config:
       block_invites: true
       block_messages: false
-- 
GitLab