1 # The second I figure out how to get this out of the UI, that's gone too.
2 # What the hell is this, fucking Github? Facebook?
3 # Fuck EmojiReaction. Fuck it completely.
4 # ...Unless it lets you use the custom emojis (which are fun) instead of
5 # the stupid Unicode Consortium ones (which are terrible), in which case
6 # I'll get rid of this policy.
7 defmodule Pleroma.Web.ActivityPub.MRF.EmojiReactionsAreRetarded do
9 @behaviour Pleroma.Web.ActivityPub.MRF.Policy
12 def filter(%{"type" => "EmojiReact"} = message) do
13 Logger.info("FUCK EMOJI REACTIONS: #{inspect(message)}")
15 |> Map.put("type", "Like")
16 |> Map.drop(["content"])
22 def filter(object), do: {:ok, object}
25 def describe, do: {:ok, %{}}