Glitch-Shrike/app
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
..
chewy
controllers Support min_id-based pagination for bookmarks (#12381) 2019-11-17 17:09:41 +01:00
helpers Fix whitelist federation for subdomains (#12435) 2019-11-21 11:35:39 +01:00
javascript Fix OCR with delete & redraft (#12465) 2019-11-25 01:42:51 +01:00
lib Fix type mismatch (#12324) 2019-11-07 21:51:48 +02:00
mailers
models Simplify SQL query when performing account search amongst followings (#12302) 2019-11-21 17:35:04 +01:00
policies
presenters Add bookmarks (#7107) 2019-11-13 23:02:10 +01:00
serializers
services Fix empty poll options not being filtered on remote poll update (#12484) 2019-11-26 22:46:31 +01:00
validators
views Fix blur behind closed registration message (#12442) 2019-11-22 15:56:59 +01:00
workers