User.Query: Remove superfluous distinct
This commit is contained in:
parent
2328eff09c
commit
be322541c8
@ -177,8 +177,7 @@ defmodule Pleroma.User.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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user