Fix restriction on excludeReplies and excludeNoFiles
This commit is contained in:
parent
6e0f7195b3
commit
401376d668
1 changed files with 2 additions and 2 deletions
|
@ -124,8 +124,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
redisTimelines,
|
||||
useDbFallback: true,
|
||||
ignoreAuthorFromMute: true,
|
||||
excludeReplies: ps.withChannelNotes && !ps.withReplies, // userTimelineWithChannel may include replies
|
||||
excludeNoFiles: ps.withChannelNotes && ps.withFiles, // userTimelineWithChannel may include notes without files
|
||||
excludeReplies: !ps.withReplies,
|
||||
excludeNoFiles: ps.withFiles,
|
||||
excludePureRenotes: !ps.withRenotes,
|
||||
noteFilter: note => {
|
||||
if (note.channel?.isSensitive && !isSelf) return false;
|
||||
|
|
Loading…
Reference in a new issue