forked from mirrors/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 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
|||
} = 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)
|
||||
|
|
Loading…
Reference in a new issue