forked from potsda.mn/mobilizon
Restrict follows to approved actors/instances
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
bb3cd214ea
commit
fe4cf86838
|
@ -934,7 +934,7 @@ defmodule Mobilizon.Actors do
|
|||
a in Actor,
|
||||
join: f in Follower,
|
||||
on: a.id == f.actor_id,
|
||||
where: f.target_actor_id == ^actor_id
|
||||
where: f.target_actor_id == ^actor_id and f.approved == true
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue