fix ignoring the result of .filter() in FanoutTimelineEndpointService
This commit is contained in:
parent
e6547be0a2
commit
023d4dd850
1 changed files with 3 additions and 3 deletions
|
|
@ -216,9 +216,9 @@ export class FanoutTimelineEndpointService {
|
|||
// These fields *must* be populated or NoteVisibilityService won't work right!
|
||||
await this.populateUsers(notes);
|
||||
|
||||
notes.filter(noteFilter).sort((a, b) => idCompare(a.id, b.id));
|
||||
|
||||
return notes;
|
||||
return notes
|
||||
.filter(noteFilter)
|
||||
.sort((a, b) => idCompare(a.id, b.id));
|
||||
}
|
||||
|
||||
private async populateUsers(notes: MiNote[]): Promise<void> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue