mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 05:56:14 -06:00
Add notification type for update notifications
Not used yet
This commit is contained in:
parent
bfc967f690
commit
9b8b3885bd
4 changed files with 9 additions and 5 deletions
|
|
@ -76,8 +76,7 @@ func alertsToNotificationFlags(alerts *apimodel.WebPushSubscriptionAlerts) gtsmo
|
|||
n.Set(gtsmodel.NotificationReblog, alerts.Reblog)
|
||||
n.Set(gtsmodel.NotificationPoll, alerts.Poll)
|
||||
n.Set(gtsmodel.NotificationStatus, alerts.Status)
|
||||
// TODO: (Vyr) handle NotificationUpdate when edit patch is merged
|
||||
//n.Set(gtsmodel.NotificationUpdate, alerts.Update)
|
||||
n.Set(gtsmodel.NotificationUpdate, alerts.Update)
|
||||
n.Set(gtsmodel.NotificationAdminSignup, alerts.AdminSignup)
|
||||
n.Set(gtsmodel.NotificationAdminReport, alerts.AdminReport)
|
||||
n.Set(gtsmodel.NotificationPendingFave, alerts.PendingFavourite)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue