mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
[mastodon-client] Fix ordering of ancestors & descendants for status context
This commit is contained in:
parent
dd0875e517
commit
f6d0183668
@ -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<Note[]> {
|
||||
@ -43,7 +43,7 @@ export class NoteHelpers {
|
||||
else break;
|
||||
}
|
||||
|
||||
return notes;
|
||||
return notes.reverse();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user