fix: push notification
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user