fix ignoring the result of .filter() in FanoutTimelineEndpointService

This commit is contained in:
Hazelnoot 2025-08-14 02:35:22 -04:00
parent e6547be0a2
commit 023d4dd850

View file

@ -216,9 +216,9 @@ export class FanoutTimelineEndpointService {
// These fields *must* be populated or NoteVisibilityService won't work right! // These fields *must* be populated or NoteVisibilityService won't work right!
await this.populateUsers(notes); await this.populateUsers(notes);
notes.filter(noteFilter).sort((a, b) => idCompare(a.id, b.id)); return notes
.filter(noteFilter)
return notes; .sort((a, b) => idCompare(a.id, b.id));
} }
private async populateUsers(notes: MiNote[]): Promise<void> { private async populateUsers(notes: MiNote[]): Promise<void> {