diff --git a/packages/backend/src/services/note/create.ts b/packages/backend/src/services/note/create.ts index b7704946f..a08e32889 100644 --- a/packages/backend/src/services/note/create.ts +++ b/packages/backend/src/services/note/create.ts @@ -806,7 +806,7 @@ async function insertNote( } export async function index(note: Note, reindexing: boolean): Promise { - if (!note.text || note.visibility === "public") return; + if (!note.text || note.visibility !== "public") return; if (config.elasticsearch && es) { es.index({