update readme example config

master
Joe 3 months ago
parent c80acab93c
commit 11a7eb9dc3
Signed by: joe
GPG Key ID: 8595A3F8F2CE1B74
  1. 7
      README.md

@ -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,

Loading…
Cancel
Save