Disable follow of non-instances for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
2a629759fa
commit
bda18a2150
|
@ -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 a new issue