fix(backend): Ignore group mentions for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
dbe2da79c3
commit
b5f106b0a8
@ -62,6 +62,10 @@ 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
|
||||||
|
{:ok, %Actor{type: :Group}} ->
|
||||||
|
{buffer, acc}
|
||||||
|
|
||||||
{:error, _} ->
|
{:error, _} ->
|
||||||
{buffer, acc}
|
{buffer, acc}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user