fix: push notification

This commit is contained in:
Krispire Admin
2026-06-08 17:52:21 +05:30
parent 0c8b2a54b3
commit 05d906aee9
4 changed files with 159 additions and 9 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ func (s *NotificationService) SendReminder(ctx context.Context, userID, kind, ti
// Web Push (reaches closed apps).
if s.push != nil {
s.push.SendToUser(ctx, userID, PushPayload{Title: title, Body: body, URL: url, Tag: kind})
s.push.SendToUser(ctx, userID, PushPayload{Title: title, Body: body, URL: url, Tag: kind, RequireInteraction: true})
}
// Email (only if there's an address on file).