fix(backend): Ignore group mentions for now

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-05-03 12:05:39 +02:00
parent dbe2da79c3
commit b5f106b0a8
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -62,6 +62,10 @@ defmodule Mobilizon.Service.Formatter do
{link, %{acc | mentions: MapSet.put(acc.mentions, {"@" <> nickname, actor})}}
# Ignore groups mentions for now
{:ok, %Actor{type: :Group}} ->
{buffer, acc}
{:error, _} ->
{buffer, acc}
end