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
parent 2a629759fa
commit bda18a2150
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 1 additions and 1 deletions

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