]> cat aescling's git repositories - mastodon.git/commit
Fix poll votes not being properly reset on poll change (#17498)
authorClaire <claire.github-309c@sitedethib.com>
Thu, 10 Feb 2022 13:26:54 +0000 (14:26 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Feb 2022 13:26:54 +0000 (14:26 +0100)
commit63854bee6c387fc82b41f1a8eea968790541cf29
treec24b6737c55e47cdc8b64d1f36be45bf8f051138
parent1bfcb75105baae556101f44957d0fa5b28ef013b
Fix poll votes not being properly reset on poll change (#17498)

* Fix poll votes not being properly reset on poll change

* Fix and add tests

* Fix poll update handling when the number of options changes
app/models/poll.rb
app/services/activitypub/process_status_update_service.rb
app/services/update_status_service.rb
spec/services/update_status_service_spec.rb