forked from mirrors/iceshrimp
[mastodon-client] Return edit history in correct order
This commit is contained in:
parent
5e61be286c
commit
0616edffa8
|
@ -210,7 +210,7 @@ export class NoteHelpers {
|
|||
media_attachments: files.then(files => files.length > 0 ? files.map((f) => FileConverter.encode(f)) : [])
|
||||
};
|
||||
lastDate = edit.updatedAt;
|
||||
history.unshift(awaitAll(item));
|
||||
history.push(awaitAll(item));
|
||||
}
|
||||
|
||||
return Promise.all(history);
|
||||
|
|
Loading…
Reference in a new issue