mix format
All checks were successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful

This commit is contained in:
FloatingGhost 2022-07-25 16:59:26 +01:00
parent 373a358fec
commit abba37b90c

View file

@ -121,6 +121,7 @@ defp quote_id(%{params: %{quote_id: id}} = draft) when is_binary(id) do
else else
{:activity, _} -> {:activity, _} ->
add_error(draft, dgettext("errors", "You can't quote a status that doesn't exist")) add_error(draft, dgettext("errors", "You can't quote a status that doesn't exist"))
{:visibility, false} -> {:visibility, false} ->
add_error(draft, dgettext("errors", "You can only quote public or unlisted statuses")) add_error(draft, dgettext("errors", "You can only quote public or unlisted statuses"))
end end