Merge branch 'meilisearch/misc-fixes' into 'develop'
Miscellaneous fixes for Meilisearch See merge request pleroma/pleroma!4296
This commit is contained in:
commit
d92d6132f2
3 changed files with 5 additions and 3 deletions
|
|
@ -122,6 +122,7 @@ defmodule Pleroma.Search.Meilisearch do
|
|||
# Only index public or unlisted Notes
|
||||
if not is_nil(object) and object.data["type"] == "Note" and
|
||||
not is_nil(object.data["content"]) and
|
||||
not is_nil(object.data["published"]) and
|
||||
(Pleroma.Constants.as_public() in object.data["to"] or
|
||||
Pleroma.Constants.as_public() in object.data["cc"]) and
|
||||
object.data["content"] not in ["", "."] do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue