fix "all" tab not showing replies to other users
This commit is contained in:
parent
38abbb078a
commit
516a65b8c1
1 changed files with 1 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue