meilisearch: remove duplicate preload

This commit is contained in:
Oneric 2024-05-02 22:44:41 +02:00
parent f848085195
commit 4ffb65bbe5

View file

@ -93,7 +93,6 @@ defmodule Pleroma.Search.Meilisearch do
hits hits
|> Activity.create_by_object_ap_id() |> Activity.create_by_object_ap_id()
|> Activity.with_preloaded_object() |> Activity.with_preloaded_object()
|> Activity.with_preloaded_object()
|> Activity.restrict_deactivated_users() |> Activity.restrict_deactivated_users()
|> maybe_restrict_local(user) |> maybe_restrict_local(user)
|> maybe_restrict_author(author) |> maybe_restrict_author(author)