mix format
[akkoma] / lib / pleroma / web / activity_pub / object_validators / emoji_react_validator.ex
index b133cbb741ec53e71c8fc013d3e966c45b893319..995395826ed0683b6c1974feea7b7b427e0dac73 100644 (file)
@@ -96,9 +96,11 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.EmojiReactValidator do
     else
       tag = get_field(cng, :tag)
       emoji_name = Emoji.stripped_name(content)
+
       case tag do
         [%{name: ^emoji_name, type: "Emoji", icon: %{url: _}}] ->
           cng
+
         _ ->
           cng
           |> add_error(:tag, "does not contain an Emoji tag")