[] Removed DISTINCT clause from ActivityPub.fetch_activities_query/2.

This commit is contained in:
Ivan Tashkinov 2021-01-25 22:31:23 +03:00
parent 694d98be55
commit e7864a32d7

View file

@ -1293,7 +1293,6 @@ def fetch_activities_query(recipients, opts \\ %{}) do
true -> true ->
query query
|> distinct([activity], true)
|> restrict_hashtag_any(opts) |> restrict_hashtag_any(opts)
|> restrict_hashtag_all(opts) |> restrict_hashtag_all(opts)
|> restrict_hashtag_reject_any(opts) |> restrict_hashtag_reject_any(opts)