From 8542e8a7a31a6960e716ed28d225af893069351a Mon Sep 17 00:00:00 2001 From: Vyr Cossont Date: Sun, 19 Jan 2025 16:24:50 -0800 Subject: [PATCH] Fix lint --- internal/webpush/realsender.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/webpush/realsender.go b/internal/webpush/realsender.go index 364961813..376edfa15 100644 --- a/internal/webpush/realsender.go +++ b/internal/webpush/realsender.go @@ -189,7 +189,7 @@ func (r *realSender) sendToSubscription( pushNotification.Title = fmt.Sprintf("%s faved your post", displayNameOrAcct) case gtsmodel.NotificationPoll: if subscription.AccountID == notification.TargetAccountID { - pushNotification.Title = fmt.Sprintf("Your poll has ended") + pushNotification.Title = "Your poll has ended" } else { pushNotification.Title = fmt.Sprintf("%s's poll has ended", displayNameOrAcct) }