]> cat aescling's git repositories - mastodon.git/commit
Fix issues when attempting to appeal an old strike (#17554)
authorClaire <claire.github-309c@sitedethib.com>
Wed, 16 Feb 2022 21:29:48 +0000 (22:29 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Feb 2022 21:29:48 +0000 (22:29 +0100)
commitac99f586bb4138e083676579097d951434e90515
tree2ab02a0a811e96052eb0fc41875f1e8d2709f035
parentaa86cf955755cd05ed9c274daebbec248c39d863
Fix issues when attempting to appeal an old strike (#17554)

* Display an error when an appeal could not be submitted

* Do not offer users to appeal old strikes

* Fix 500 error when trying to appeal a strike that is too old

* Avoid using an extra translatable string
app/controllers/disputes/appeals_controller.rb
app/models/appeal.rb
app/policies/account_warning_policy.rb