diff --git a/packages/backend/src/server/api/mastodon/helpers/note.ts b/packages/backend/src/server/api/mastodon/helpers/note.ts index 6f4738bcd..a0fa4e67e 100644 --- a/packages/backend/src/server/api/mastodon/helpers/note.ts +++ b/packages/backend/src/server/api/mastodon/helpers/note.ts @@ -27,7 +27,7 @@ export class NoteHelpers { generateBlockedUserQuery(query, user); } - return query.getMany(); + return query.getMany().then(p => p.reverse()); } public static async getNoteAncestors(rootNote: Note, user: ILocalUser | null, limit: number = 10): Promise { @@ -43,7 +43,7 @@ export class NoteHelpers { else break; } - return notes; + return notes.reverse(); } /**