diff --git a/lib/federation/activity_stream/converter/utils.ex b/lib/federation/activity_stream/converter/utils.ex index 29ca105bf..95ce6728a 100644 --- a/lib/federation/activity_stream/converter/utils.ex +++ b/lib/federation/activity_stream/converter/utils.ex @@ -122,6 +122,8 @@ defmodule Mobilizon.Federation.ActivityStream.Converter.Utils do create_mention(mention, acc) end + defp create_mention(_, acc), do: acc + @spec maybe_fetch_actor_and_attributed_to_id(map()) :: {:ok, Actor.t(), Actor.t() | nil} | {:error, atom()} def maybe_fetch_actor_and_attributed_to_id(%{