Disable follow of non-instances for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
9cc0acdaeb
commit
95c355d586
@ -20,7 +20,7 @@ defmodule Mobilizon.Web.Email.Follow do
|
|||||||
def send_notification_to_admins(
|
def send_notification_to_admins(
|
||||||
%Follower{
|
%Follower{
|
||||||
# approved: false,
|
# approved: false,
|
||||||
actor: %Actor{} = follower,
|
actor: %Actor{type: :Application} = follower,
|
||||||
target_actor: %Actor{id: target_actor_id}
|
target_actor: %Actor{id: target_actor_id}
|
||||||
} = _follow
|
} = _follow
|
||||||
) do
|
) do
|
||||||
|
Loading…
Reference in New Issue
Block a user