update readme example config

This commit is contained in:
Joe 2022-07-14 04:44:43 -05:00
parent c80acab93c
commit 11a7eb9dc3
Signed by: joe
GPG Key ID: 8595A3F8F2CE1B74
1 changed files with 7 additions and 0 deletions

View File

@ -46,6 +46,13 @@ modules:
blocked_messages:
- "spam" # "spam" anywhere in the message
- "sp[am]+" # "spammmm", "spaaaammmmm", etc
# Module to block registration for usernames with the given text regexes
- module: "synapse_simple_antispam.AntiSpamRegistrationRegex"
config:
blocked_usernames:
- "spambot" # identical regex handling to the AntiSpamRegex module
- "naughtyword"
```
Synapse will need to be restarted to apply the changes. To modify the list of homeservers,