From d911c5a0766f96b3e0daf714cb0d146f5a826dc0 Mon Sep 17 00:00:00 2001 From: shannon Date: Wed, 26 Mar 2025 08:59:28 -0400 Subject: [PATCH] Remove self from count of other voters Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification --- .../NotificationRowView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mastodon/In Progress New Layout and Datamodel/NotificationRowView.swift b/Mastodon/In Progress New Layout and Datamodel/NotificationRowView.swift index 25868ec74..6a68ec06d 100644 --- a/Mastodon/In Progress New Layout and Datamodel/NotificationRowView.swift +++ b/Mastodon/In Progress New Layout and Datamodel/NotificationRowView.swift @@ -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