This commit is contained in:
Vyr Cossont 2025-01-19 16:24:50 -08:00
commit 8542e8a7a3

View file

@ -189,7 +189,7 @@ func (r *realSender) sendToSubscription(
pushNotification.Title = fmt.Sprintf("%s faved your post", displayNameOrAcct) pushNotification.Title = fmt.Sprintf("%s faved your post", displayNameOrAcct)
case gtsmodel.NotificationPoll: case gtsmodel.NotificationPoll:
if subscription.AccountID == notification.TargetAccountID { if subscription.AccountID == notification.TargetAccountID {
pushNotification.Title = fmt.Sprintf("Your poll has ended") pushNotification.Title = "Your poll has ended"
} else { } else {
pushNotification.Title = fmt.Sprintf("%s's poll has ended", displayNameOrAcct) pushNotification.Title = fmt.Sprintf("%s's poll has ended", displayNameOrAcct)
} }