fix(federation): ignore mentions from everything that's not a AP Person
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
2729d5ed7a
commit
56f341e960
|
@ -62,8 +62,8 @@ defmodule Mobilizon.Service.Formatter do
|
||||||
|
|
||||||
{link, %{acc | mentions: MapSet.put(acc.mentions, {"@" <> nickname, actor})}}
|
{link, %{acc | mentions: MapSet.put(acc.mentions, {"@" <> nickname, actor})}}
|
||||||
|
|
||||||
# Ignore groups mentions for now
|
# Ignore every other actor type mentions for now
|
||||||
{:ok, %Actor{type: :Group}} ->
|
{:ok, %Actor{}} ->
|
||||||
{buffer, acc}
|
{buffer, acc}
|
||||||
|
|
||||||
{:error, _} ->
|
{:error, _} ->
|
||||||
|
|
Loading…
Reference in a new issue