From a03a35a5d6c86ef85d66bae501daaa1cd8c47c2e Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Thu, 20 Feb 2025 10:13:07 +0000 Subject: [bugfix] update fedi api to support multiple separate votes in same multiple choice poll (#3809) --- internal/processing/polls/vote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/processing/polls/vote.go') diff --git a/internal/processing/polls/vote.go b/internal/processing/polls/vote.go index c970fe106..6585793cd 100644 --- a/internal/processing/polls/vote.go +++ b/internal/processing/polls/vote.go @@ -93,7 +93,7 @@ func (p *Processor) PollVote(ctx context.Context, requester *gtsmodel.Account, p // Before enqueuing it, increment the poll // vote counts on the copy attached to the // PollVote (that we also later return). - poll.IncrementVotes(choices) + poll.IncrementVotes(choices, true) // Enqueue worker task to handle side-effects of user poll vote(s). p.state.Workers.Client.Queue.Push(&messages.FromClientAPI{ -- cgit v1.2.3