From: Ekaterina Vaartis Date: Mon, 23 Aug 2021 18:15:15 +0000 (+0300) Subject: Fix activity being passed to objec_to_search_data X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=41f35721529089045e2421991035ba362fc34166;p=akkoma Fix activity being passed to objec_to_search_data --- diff --git a/lib/pleroma/search/meilisearch.ex b/lib/pleroma/search/meilisearch.ex index 1ad17bf9f..212bdd473 100644 --- a/lib/pleroma/search/meilisearch.ex +++ b/lib/pleroma/search/meilisearch.ex @@ -112,7 +112,7 @@ defmodule Pleroma.Search.Meilisearch do end def add_to_index(activity) do - maybe_search_data = object_to_search_data(activity) + maybe_search_data = object_to_search_data(activity.object) if activity.data["type"] == "Create" and maybe_search_data do result =