Fix auto mute readme

This commit is contained in:
Chocobozzz 2020-05-07 15:52:10 +02:00
parent 20a188733d
commit dbc6fc0d5f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -18,7 +18,8 @@ This plugins expect the following JSON format from public blocklists:
For example: For example:
``` ```
[ {
data: [
{ {
value: 'peertube.cpy.re' value: 'peertube.cpy.re'
}, },
@ -26,6 +27,7 @@ For example:
value: 'root@peertube.cpy.re' value: 'root@peertube.cpy.re'
} }
] ]
}
``` ```
This plugin does not apply a diff, so if you want to remove an entity from the blocklist, add `action: 'remove'` to the object. This plugin does not apply a diff, so if you want to remove an entity from the blocklist, add `action: 'remove'` to the object.
@ -33,7 +35,8 @@ This plugin does not apply a diff, so if you want to remove an entity from the b
For example, to revert `peertube.cpy.re` from the blocklist, update the JSON: For example, to revert `peertube.cpy.re` from the blocklist, update the JSON:
``` ```
[ {
data: [
{ {
value: 'peertube.cpy.re', value: 'peertube.cpy.re',
action: 'remove' action: 'remove'
@ -42,3 +45,5 @@ For example, to revert `peertube.cpy.re` from the blocklist, update the JSON:
value: 'root@peertube.cpy.re' value: 'root@peertube.cpy.re'
} }
] ]
}
```