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,14 +18,16 @@ This plugins expect the following JSON format from public blocklists:
For example:
```
[
{
value: 'peertube.cpy.re'
},
{
value: 'root@peertube.cpy.re'
}
]
{
data: [
{
value: '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.
@ -33,12 +35,15 @@ 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:
```
[
{
value: 'peertube.cpy.re',
action: 'remove'
},
{
value: 'root@peertube.cpy.re'
}
]
{
data: [
{
value: 'peertube.cpy.re',
action: 'remove'
},
{
value: 'root@peertube.cpy.re'
}
]
}
```