Merge pull request #22 from anatawa12/fix-featured-cw

fix: おはnoteの除外でcwを見忘れているのを修正
This commit is contained in:
anatawa12 2023-07-31 16:35:48 +09:00 committed by GitHub
commit eca225fa39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
new Brackets(qb => {
qb.where('note.text NOT LIKE \'%おはよう%\'')
.andWhere('note.text NOT LIKE \'%:ohayo_nirila_misskey:%\'')
.andWhere('note.cw NOT LIKE \'%おはよう%\'')
.andWhere('note.cw NOT LIKE \'%:ohayo_nirila_misskey:%\'')
.orWhere('note.fileIds != \'{}\'');
}),
);