Commit be322541 authored by lain's avatar lain

User.Query: Remove superfluous `distinct`

parent 2328eff0
Pipeline #26097 passed with stages
in 8 minutes and 57 seconds
......@@ -177,8 +177,7 @@ defp compose_query({:recipients_from_activity, to}, query) do
)
from(u in query,
where: u.ap_id in ^to or u.id in subquery(following_query),
distinct: true
where: u.ap_id in ^to or u.id in subquery(following_query)
)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment