forked from potsda.mn/mobilizon
Merge branch 'bug/restrict-follows-to-approved' into 'master'
Restrict follows to approved actors/instances See merge request framasoft/mobilizon!371
This commit is contained in:
commit
7922d4a66c
|
@ -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