From: Haelwenn Date: Fri, 17 Apr 2020 22:48:37 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/web/activity_pub/activity_pub.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=24f760c2f732465151655fd4cd69cc149546b29f;p=akkoma Apply suggestion to lib/pleroma/web/activity_pub/activity_pub.ex --- diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index cb942c211..eedea08a2 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -1431,7 +1431,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do data |> Map.get("tag", []) |> Enum.filter(fn - %{"type" => t} -> t == "Emoji" + %{"type" => "Emoji"} -> true _ -> false end) |> Enum.reduce(%{}, fn %{"icon" => %{"url" => url}, "name" => name}, acc ->