diff --git a/lib/pleroma/web/activity_pub/mrf/change_react_to_like.ex b/lib/pleroma/web/activity_pub/mrf/change_react_to_like.ex index 922ebfd67..5179e623d 100644 --- a/lib/pleroma/web/activity_pub/mrf/change_react_to_like.ex +++ b/lib/pleroma/web/activity_pub/mrf/change_react_to_like.ex @@ -11,12 +11,11 @@ defmodule Pleroma.Web.ActivityPub.MRF.ChangeReactstoLikes do @impl true @spec filter(any) :: {:ok, any} def filter(%{"type" => "EmojiReact"} = object) do - Logger.warn("#{inspect(object)}") - test = object["content"] + react = object["content"] # TODO: make this pull from config - if test in ["👍", "❤️", "😆", "😮", "😢", "😩", "😭", "⭐"] do - Logger.warn("MRF.ChangeReactstoLikes: Changing #{inspect(test)} to a Favourite") + if react in ["👍", "👎", "❤️", "😆", "😮", "😢", "😩", "😭", "🔥", "⭐"] do + Logger.info("MRF.ChangeReactstoLikes: Changing #{inspect(react)} to a Like") object = object