we should probably use ||
This commit is contained in:
parent
e124a109c1
commit
9977588612
|
@ -423,7 +423,7 @@ def handle_incoming(
|
||||||
} = data,
|
} = data,
|
||||||
options
|
options
|
||||||
) do
|
) 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
|
data
|
||||||
|> Map.put("type", "EmojiReact")
|
|> Map.put("type", "EmojiReact")
|
||||||
|> handle_incoming(options)
|
|> handle_incoming(options)
|
||||||
|
|
Loading…
Reference in a new issue