This commit is contained in:
Vyr Cossont 2025-01-19 16:24:50 -08:00
parent 4180024b7e
commit 9e1779625a

View File

@ -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)
}