bastodon/app/services/activitypub
ThibG 00c219aa45 Fix empty poll options not being filtered on remote poll update (#12484)
If a poll contains empty options (which is apparently possible on Pleroma),
it is created without them. However, the poll update code doesn't filter
empty options, and thus:
1. Clear known votes, as it assumes the set of options has changed
2. Errors out because it tries adding empty options, which fails validation

This commit fixes that by filtering them out the same way they are filtered
out at poll creation time.
2019-11-26 22:46:31 +01:00
..
fetch_featured_collection_service.rb Refactor domain block checks (#11268) 2019-07-09 03:27:35 +02:00
fetch_remote_account_service.rb Refactor domain block checks (#11268) 2019-07-09 03:27:35 +02:00
fetch_remote_key_service.rb Improve federated ID validation (#8372) 2018-08-22 20:55:14 +02:00
fetch_remote_poll_service.rb Refactor domain block checks (#11268) 2019-07-09 03:27:35 +02:00
fetch_remote_status_service.rb Refactor fetching of remote resources (#11251) 2019-07-10 18:59:28 +02:00
fetch_replies_service.rb Fix poll update handler calling method was that was not available (#10246) 2019-03-12 22:58:59 +01:00
process_account_service.rb Add profile directory to web UI (#11688) 2019-08-30 00:14:36 +02:00
process_collection_service.rb Refactor domain block checks (#11268) 2019-07-09 03:27:35 +02:00
process_poll_service.rb Fix empty poll options not being filtered on remote poll update (#12484) 2019-11-26 22:46:31 +01:00