diff --git a/lib/pleroma/elasticsearch/store.ex b/lib/pleroma/elasticsearch/store.ex index 2d8aeabc2..1d63e8816 100644 --- a/lib/pleroma/elasticsearch/store.ex +++ b/lib/pleroma/elasticsearch/store.ex @@ -98,6 +98,7 @@ def bulk_post(data, :activities) do def bulk_post(data, :users) do d = data + |> Enum.filter(fn x -> x.actor_type == "Person" end) |> Enum.map(fn d -> [ %{index: %{_id: DocumentMappings.User.id(d)}},