Show real vote counts
Polls have always shown an inaccurate vote count because it is trying to show the count of voters for your local instance. We have had the real vote counts for a long time now and it gets refreshed periodically until the poll closes and then a final vote count is fetched from the origin.
Fixing this makes the poll information more useful to users especially on smaller instances.
Merge request reports
Activity
I thought it wasn't about local users but about votes (single-option polls) vs people voted (multi-option polls)
Edited by HJI just checked on a remote multiple-choice poll and it says "94 votes" which matches the amount when adding up each poll option.
The data for the object says:
"voters" => []
so we don't have any voters to count.The problem is that we receive no data that can indicate to us how many poll options each voter selected.
Now it's down to a language game: in a multiple choice poll, if you select two options is it really "two votes"? Or perhaps "Two votes, but one submission/response"?
We were definitely making an assumption that doesn't match the data we have access to in the backend right now. Is it possible that behavior was different back in the OStatus days?