From: FloatingGhost Date: Fri, 10 Mar 2023 18:49:08 +0000 (+0000) Subject: we should probably use || X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=99775886126ba35476db47ae116afb0f1dc2f0e6;p=akkoma we should probably use || --- diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index 7081213e7..5c96bf060 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -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)