PleromaAPI: Change EmojiReact to invisible post response from 400 to 404

This commit is contained in:
Phantasm 2025-12-11 22:31:30 +01:00
commit 73a3f06f71
No known key found for this signature in database
GPG key ID: 2669E588BCC634C8
5 changed files with 36 additions and 18 deletions

View file

@ -322,7 +322,7 @@ defmodule Pleroma.Web.CommonAPI do
{:ok, activity}
else
{:visible, _} ->
{:error, dgettext("errors", "Must be able to access post to interact with it")}
{:error, :not_found}
_ ->
{:error, dgettext("errors", "Could not add reaction emoji")}