Skip to content

MastodonAPI Controller: Band-Aid double vote problem.

lain requested to merge bugfix/980-polls-double-vote into develop

There's a race condition between checking if we have voted and actually voting. It gets even more complicated by the vote counting mechanism. As far as I can tell, we also don't check if the user can actually vote on a poll on incoming notes.

Either way, I'll open separate issues for that. This MR contains a quick fix to stop doublevoting from mastodon api clients.

Merge request reports