diff --git a/lib/pleroma/elasticsearch/store.ex b/lib/pleroma/elasticsearch/store.ex index ffa6d4769..4789aebe0 100644 --- a/lib/pleroma/elasticsearch/store.ex +++ b/lib/pleroma/elasticsearch/store.ex @@ -35,7 +35,7 @@ def maybe_put_into_elasticsearch( end end - def maybe_put_into_elasticsearch(%User{} = user) do + def maybe_put_into_elasticsearch(%User{actor_type: "Person"} = user) do if enabled?() do put(user) end