mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Remove self from count of other voters
Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
This commit is contained in:
parent
597d704d4e
commit
d911c5a076
@ -123,7 +123,7 @@ extension GroupedNotificationType {
|
||||
plainString = firstAuthorName
|
||||
case .poll(let status):
|
||||
let votersCount = status?.poll?.votersCount ?? 0
|
||||
let pollDescription = L10n.Plural.Count.pollThatYouAndOthersVotedIn(votersCount)
|
||||
let pollDescription = L10n.Plural.Count.pollThatYouAndOthersVotedIn(votersCount - 1)
|
||||
plainString = L10n.Scene.Notification.GroupedNotificationDescription.singleNameRanPoll(firstAuthorName, pollDescription)
|
||||
case .status:
|
||||
plainString = firstAuthorName
|
||||
|
Loading…
x
Reference in New Issue
Block a user