]> cat aescling's git repositories - mastodon.git/commit
Only normalize local polls (#12515)
authorThibG <thib@sitedethib.com>
Sun, 1 Dec 2019 16:24:33 +0000 (17:24 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 1 Dec 2019 16:24:33 +0000 (17:24 +0100)
commitf60cd97638c9de9cbc4714cfbc87a321324fe9ff
tree078862a0414cecad7f05be91d5b3a72edb807692
parentd70268f0991ba69568112d4da5768e821d5983dd
Only normalize local polls (#12515)

Before this patch, if remote poll options have leading or trailing spaces,
the information stored locally won't match them, causing federated voting to
fail.
app/models/poll.rb