fix(federation): handle string values for tags when constructing mentions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
552ab4c80b
commit
2729d5ed7a
|
@ -122,6 +122,8 @@ defmodule Mobilizon.Federation.ActivityStream.Converter.Utils do
|
||||||
create_mention(mention, acc)
|
create_mention(mention, acc)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
defp create_mention(_, acc), do: acc
|
||||||
|
|
||||||
@spec maybe_fetch_actor_and_attributed_to_id(map()) ::
|
@spec maybe_fetch_actor_and_attributed_to_id(map()) ::
|
||||||
{:ok, Actor.t(), Actor.t() | nil} | {:error, atom()}
|
{:ok, Actor.t(), Actor.t() | nil} | {:error, atom()}
|
||||||
def maybe_fetch_actor_and_attributed_to_id(%{
|
def maybe_fetch_actor_and_attributed_to_id(%{
|
||||||
|
|
Loading…
Reference in a new issue