From: FloatingGhost Date: Sun, 4 Sep 2022 23:39:32 +0000 (+0100) Subject: fix compilation warnings X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=1c7d7845c3a01b203a2c6e17805ee91732044e4d;p=akkoma fix compilation warnings --- diff --git a/lib/pleroma/web/activity_pub/builder.ex b/lib/pleroma/web/activity_pub/builder.ex index 71ccbdef5..ba756ed64 100644 --- a/lib/pleroma/web/activity_pub/builder.ex +++ b/lib/pleroma/web/activity_pub/builder.ex @@ -80,7 +80,7 @@ defmodule Pleroma.Web.ActivityPub.Builder do end defp remote_custom_emoji_react( - %{data: %{"reactions" => existing_reactions}} = object, + %{data: %{"reactions" => existing_reactions}}, data, emoji ) do @@ -103,7 +103,7 @@ defmodule Pleroma.Web.ActivityPub.Builder do end end - defp remote_custom_emoji_react(_object, data, emoji) do + defp remote_custom_emoji_react(_object, _data, _emoji) do {:error, "Could not react"} end