voters_count contains incorrect information for polls from other instances
I'm seeing polls where the voters_count
value returned by the API is much smaller than the actual number of people who've voted. For instance, https://fedi.xeno.science/api/v1/statuses/A54Rs7aQge2rUaEVPc returns a voters_count
of 0 even though there are 72 votes, including my own. This causes errors in poll display in Tusky, which computes vote percentages by dividing by voters_count
. If voters_count
isn't guaranteed to contain accurate information, it should be set to null so clients like Tusky will use votes_count
instead. This only affects polls from other instances, not my own.