Disable follow of non-instances for now

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-01-17 17:50:00 +01:00 committed by tykayn
parent 9cc0acdaeb
commit 95c355d586

View File

@ -20,7 +20,7 @@ defmodule Mobilizon.Web.Email.Follow do
def send_notification_to_admins(
%Follower{
# approved: false,
actor: %Actor{} = follower,
actor: %Actor{type: :Application} = follower,
target_actor: %Actor{id: target_actor_id}
} = _follow
) do