Revert 96bc17aa10
This commit is contained in:
parent
27768081e2
commit
5448c22031
19 changed files with 125 additions and 194 deletions
|
@ -500,7 +500,7 @@ async function insertNote(user: IUser, data: Option, tags: string[], emojis: str
|
|||
}
|
||||
|
||||
function index(note: INote) {
|
||||
if (note.text == null || !config.elasticsearch.isJust()) return;
|
||||
if (note.text == null || config.elasticsearch == null) return;
|
||||
|
||||
es.index({
|
||||
index: 'misskey',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue