fix replies being filtered out of fanout timelines incorrectly
This commit is contained in:
parent
30c8e8a1a8
commit
fba4a2f8b9
1 changed files with 4 additions and 1 deletions
|
|
@ -116,7 +116,10 @@ export class FanoutTimelineEndpointService {
|
||||||
|
|
||||||
const parentFilter = filter;
|
const parentFilter = filter;
|
||||||
filter = (note, populated) => {
|
filter = (note, populated) => {
|
||||||
const { accessible, silence } = this.noteVisibilityService.checkNoteVisibility(populated, me, { data, filters: { includeSilencedAuthor: ps.ignoreAuthorFromUserSilence } });
|
const { accessible, silence } = this.noteVisibilityService.checkNoteVisibility(populated, me, { data, filters: {
|
||||||
|
includeSilencedAuthor: ps.ignoreAuthorFromUserSilence,
|
||||||
|
includeReplies: true, // Include replies because we check them elsewhere
|
||||||
|
} });
|
||||||
if (!accessible || silence) return false;
|
if (!accessible || silence) return false;
|
||||||
|
|
||||||
return parentFilter(note, populated);
|
return parentFilter(note, populated);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue