From 5d6cb6a4591978a767716abbc816158da5e24cc7 Mon Sep 17 00:00:00 2001 From: Oneric Date: Thu, 2 May 2024 22:44:41 +0200 Subject: [PATCH] meilisearch: remove duplicate preload --- lib/pleroma/search/meilisearch.ex | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/pleroma/search/meilisearch.ex b/lib/pleroma/search/meilisearch.ex index 8fcf9310a..cecb7bd00 100644 --- a/lib/pleroma/search/meilisearch.ex +++ b/lib/pleroma/search/meilisearch.ex @@ -93,7 +93,6 @@ def search(user, query, options \\ []) do hits |> Activity.create_by_object_ap_id() |> Activity.with_preloaded_object() - |> Activity.with_preloaded_object() |> Activity.restrict_deactivated_users() |> maybe_restrict_local(user) |> maybe_restrict_author(author)