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})}}
|
||||
|
||||
# Ignore groups mentions for now
|
||||
{:ok, %Actor{type: :Group}} ->
|
||||
# Ignore every other actor type mentions for now
|
||||
{:ok, %Actor{}} ->
|
||||
{buffer, acc}
|
||||
|
||||
{:error, _} ->
|
||||
|
|
Loading…
Reference in a new issue