we should probably use ||

This commit is contained in:
FloatingGhost 2023-03-10 18:49:08 +00:00
parent e124a109c1
commit 9977588612

View file

@ -423,7 +423,7 @@ def handle_incoming(
} = data,
options
) do
if Pleroma.Emoji.is_unicode_emoji?(reaction) or Pleroma.Emoji.matches_shortcode?(reaction) do
if Pleroma.Emoji.is_unicode_emoji?(reaction) || Pleroma.Emoji.matches_shortcode?(reaction) do
data
|> Map.put("type", "EmojiReact")
|> handle_incoming(options)