update readme example config
This commit is contained in:
parent
c80acab93c
commit
11a7eb9dc3
|
@ -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…
Reference in New Issue