Merge branch 'issue/1342' into 'develop'
[#1342] Added privacy option to push notifications See merge request pleroma/pleroma!1920
This commit is contained in:
commit
e4ea0e20b3
16 changed files with 273 additions and 48 deletions
|
|
@ -302,6 +302,7 @@ See [Admin-API](admin_api.md)
|
|||
* `follows`: BOOLEAN field, receives notifications from people the user follows
|
||||
* `remote`: BOOLEAN field, receives notifications from people on remote instances
|
||||
* `local`: BOOLEAN field, receives notifications from people on the local instance
|
||||
* `privacy_option`: BOOLEAN field. When set to true, it removes the contents of a message from the push notification.
|
||||
* Response: JSON. Returns `{"status": "success"}` if the update was successful, otherwise returns `{"error": "error_msg"}`
|
||||
|
||||
## `/api/pleroma/healthcheck`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue