[#3213] Removed DISTINCT clause from ActivityPub.fetch_activities_query/2.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Mon, 25 Jan 2021 19:31:23 +0000 (22:31 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Mon, 25 Jan 2021 19:31:23 +0000 (22:31 +0300)
lib/pleroma/web/activity_pub/activity_pub.ex

index fbda89a252def1abc0cc8ab9509220196a5a4c54..be81e0833d44745c8d2352a5dec8f665c82e3db4 100644 (file)
@@ -1293,7 +1293,6 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
 
       true ->
         query
-        |> distinct([activity], true)
         |> restrict_hashtag_any(opts)
         |> restrict_hashtag_all(opts)
         |> restrict_hashtag_reject_any(opts)