forked from AkkomaGang/akkoma
we should probably use ||
This commit is contained in:
parent
e124a109c1
commit
9977588612
1 changed files with 1 additions and 1 deletions
|
@ -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