From: lain Date: Tue, 19 May 2020 12:36:34 +0000 (+0200) Subject: User.Query: Remove superfluous `distinct` X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=be322541c8a3de1b6311bda340e5af151fe28c6c;p=akkoma User.Query: Remove superfluous `distinct` --- diff --git a/lib/pleroma/user/query.ex b/lib/pleroma/user/query.ex index 9ef073dff..293bbc082 100644 --- a/lib/pleroma/user/query.ex +++ b/lib/pleroma/user/query.ex @@ -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