this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #767 from Steffo99/feature/akkoma-vote-counts

Fix invalid vote counts on single choice polls on certain MastoAPI implementations

authored by

Chee Aun and committed by
GitHub
2b4dbdfe 0453cde6

+1 -1
+1 -1
src/components/poll.jsx
··· 49 49 // }; 50 50 // }, [expired, expiresAtDate]); 51 51 52 - const pollVotesCount = votersCount || votesCount; 52 + const pollVotesCount = multiple ? votersCount : votesCount; 53 53 let roundPrecision = 0; 54 54 55 55 if (pollVotesCount <= 1000) {