You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/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.
5 years ago
..
fetch_featured_collection_service.rb Refactor domain block checks (#11268) 6 years ago
fetch_remote_account_service.rb Refactor domain block checks (#11268) 6 years ago
fetch_remote_key_service.rb Improve federated ID validation (#8372) 6 years ago
fetch_remote_poll_service.rb Refactor domain block checks (#11268) 6 years ago
fetch_remote_status_service.rb Refactor fetching of remote resources (#11251) 6 years ago
fetch_replies_service.rb Fix poll update handler calling method was that was not available (#10246) 6 years ago
process_account_service.rb Add profile directory to web UI (#11688) 5 years ago
process_collection_service.rb Refactor domain block checks (#11268) 6 years ago
process_poll_service.rb Fix empty poll options not being filtered on remote poll update (#12484) 5 years ago