Revert "mandate published on notes"
[akkoma] / lib / mix / tasks / pleroma / search / meilisearch.ex
index caeeb58d5f6ee39629b8a97ee55443ed5168512a..27a31afcf4a684f8d87dfb8daac2abe6a3c7a7e3 100644 (file)
@@ -60,8 +60,7 @@ defmodule Mix.Tasks.Pleroma.Search.Meilisearch do
             where:
               fragment("data->>'type' = 'Note'") and
                 (fragment("data->'to' \\? ?", ^Pleroma.Constants.as_public()) or
-                   fragment("data->'cc' \\? ?", ^Pleroma.Constants.as_public())) and
-                fragment("data->>'published' IS NOT NULL"),
+                   fragment("data->'cc' \\? ?", ^Pleroma.Constants.as_public())),
             order_by: [desc: fragment("data->'published'")]
           )