Hidden shows all votes even if limit
bmccarthynn opened this issue · comments
Brendon McCarthy commented
If you create a new poll that is both hidden and limited, the limited votes are revealed. To recreate:
- Create new hidden and limit poll:
/poll hidden limit 1 "What's you favourite color ?" "Red" "Green" "Blue" "Yellow"
- Vote for both red and green. An message will display "You can't vote anymore..." after green Vote is clicked.
- Click "Reveal the votes"
Expected Result: Only the valid votes are visible.
Actual Result: All votes beyond the limit are visible.
KazuAlex commented
I will take a look soon. Maybe you have clicked too quickly on Red and Green buttons ?
Brendon McCarthy commented
Waited 10 seconds between clicking Red then Green. Either way, on clicking Green, it knows Red was already clicked/voted based on the "You can't vote anymore." Also, not sure how to "Remove a vote to choose another option." as there is no UI element to remove a vote. Screencast: https://share.getcloudapp.com/RBuyqq81
KazuAlex commented
Fixed!