Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix voting in boosted polls on user profiles #4890

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

connyduck
Copy link
Collaborator

@connyduck connyduck commented Jan 22, 2025

Without this fix, the vote goes through but the poll in the app doesn't update.
Fixed by using updateStatusByActionableId, which automatically handles boosted & regular posts. Also handle poll votes the same way as in the home timeline, by listening to the PollVoteEvent.

@connyduck connyduck requested review from Tak, Lakoja and charlag January 22, 2025 20:59
@connyduck connyduck merged commit 170358f into develop Jan 23, 2025
1 check passed
@connyduck connyduck deleted the fix-voting-in-boosted-poll branch January 23, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants