Exclude persons from being followed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -338,7 +338,7 @@ defmodule Mobilizon.Federation.ActivityPub do
|
||||
:ok <- maybe_federate(activity) do
|
||||
{:ok, activity, follower}
|
||||
else
|
||||
{:error, err, msg} when err in [:already_following, :suspended] ->
|
||||
{:error, err, msg} when err in [:already_following, :suspended, :no_person] ->
|
||||
{:error, msg}
|
||||
|
||||
{:different_actors, _} ->
|
||||
|
||||
Reference in New Issue
Block a user