From 27844b7da2567491661f9ddd2d4662f9f1b3ce40 Mon Sep 17 00:00:00 2001 From: Vyr Cossont Date: Mon, 3 Feb 2025 02:25:53 -0800 Subject: [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?) --- testrig/testmodels.go | 1 + 1 file changed, 1 insertion(+) (limited to 'testrig/testmodels.go') diff --git a/testrig/testmodels.go b/testrig/testmodels.go index 9a54aba70..806e64891 100644 --- a/testrig/testmodels.go +++ b/testrig/testmodels.go @@ -3610,6 +3610,7 @@ func NewTestWebPushSubscriptions() map[string]*gtsmodel.WebPushSubscription { gtsmodel.NotificationPendingReply, gtsmodel.NotificationPendingReblog, }), + Policy: gtsmodel.WebPushNotificationPolicyFollowed, }, } } -- cgit v1.2.3