mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-03 13:58:41 +00:00
User.Query: Remove superfluous distinct
This commit is contained in:
parent
2328eff09c
commit
be322541c8
1 changed files with 1 additions and 2 deletions
|
@ -177,8 +177,7 @@ defmodule Pleroma.User.Query do
|
||||||
)
|
)
|
||||||
|
|
||||||
from(u in query,
|
from(u in query,
|
||||||
where: u.ap_id in ^to or u.id in subquery(following_query),
|
where: u.ap_id in ^to or u.id in subquery(following_query)
|
||||||
distinct: true
|
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue