fix "all" tab not showing replies to other users

This commit is contained in:
Hazelnoot 2025-10-23 10:46:41 -04:00
parent 38abbb078a
commit 516a65b8c1

View file

@ -230,10 +230,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
this.queryService.andIsNotQuote(query, 'note');
}
if (ps.withReplies) {
if (!ps.withReplies) {
this.queryService.generateExcludedRepliesQueryForNotes(query, me);
} else {
query.andWhere('note.replyId IS NULL');
}
if (!ps.withNonPublic) {