mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 22:36:14 -06:00
Fix lint
This commit is contained in:
parent
b0d0f8c0c6
commit
8542e8a7a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue