Update README.md

change deprecated "spam_checker" to "modules".

note:  
https://matrix-org.github.io/synapse/develop/spam_checker.html  
https://matrix-org.github.io/synapse/develop/modules.html
This commit is contained in:
~creme 2021-08-15 10:50:02 +02:00 committed by GitHub
parent 43da763bb2
commit 48584c4771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ pip install -e "git+https://github.com/matrix-org/mjolnir.git#egg=mjolnir&subdir
Then add the following to your `homeserver.yaml`: Then add the following to your `homeserver.yaml`:
```yaml ```yaml
spam_checker: modules:
module: mjolnir.AntiSpam module: mjolnir.AntiSpam
config: config:
# Prevent servers/users in the ban lists from inviting users on this # Prevent servers/users in the ban lists from inviting users on this