fix withRenotes check in generateMutedUserRenotesQueryForNotes

This commit is contained in:
Hazelnoot 2025-06-01 14:42:13 -04:00
parent baf785bdc1
commit b7abc5b3b4

View file

@ -247,6 +247,7 @@ export class QueryService {
.orWhere('note.text IS NOT NULL')
.orWhere('note.cw IS NOT NULL')
.orWhere('note.replyId IS NOT NULL')
.orWhere('note.hasPoll = false')
.orWhere('note.fileIds != \'{}\'')
.orWhere(`note.userId NOT IN (${ mutingQuery.getQuery() })`);
}));