diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-04-17 22:48:37 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-04-17 22:48:37 +0000 |
commit | 24f760c2f732465151655fd4cd69cc149546b29f (patch) | |
tree | bd64e631214990121250c2eb389ac1cc7489668f | |
parent | eb61564005b743acefe7bb31c9369c38c9dfad6e (diff) | |
download | pleroma-24f760c2f732465151655fd4cd69cc149546b29f.tar.gz |
Apply suggestion to lib/pleroma/web/activity_pub/activity_pub.ex
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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 -> |