mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] Implement Web Push notification policy (#3721)
* Web Push: add policy column to subscriptions * Web Push: add policy to API * Web Push: test notification policy * go-fmt unrelated file (how did this get thru?)
This commit is contained in:
@@ -147,6 +147,17 @@ import (
|
||||
// type: boolean
|
||||
// default: false
|
||||
// description: Receive a push notification when a boost is pending?
|
||||
// -
|
||||
// name: data[policy]
|
||||
// in: formData
|
||||
// type: string
|
||||
// enum:
|
||||
// - all
|
||||
// - followed
|
||||
// - follower
|
||||
// - none
|
||||
// default: all
|
||||
// description: Which accounts to receive push notifications from.
|
||||
//
|
||||
// security:
|
||||
// - OAuth2 Bearer:
|
||||
|
Reference in New Issue
Block a user