forked from AkkomaGang/akkoma
don't try indexing non-people
This commit is contained in:
parent
4e923b331f
commit
e1799f9456
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue