MessageLinkEmbeds: Load embeds from newest to oldest (#2230)

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
mcpower 2024-03-22 12:27:09 +11:00 committed by GitHub
parent 1cb295b1b9
commit ec66c35d41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -255,7 +255,7 @@ function MessageEmbedAccessory({ message }: { message: Message; }) {
delete msg.embeds; delete msg.embeds;
delete msg.interaction; delete msg.interaction;
messageFetchQueue.push(() => fetchMessage(channelID, messageID) messageFetchQueue.unshift(() => fetchMessage(channelID, messageID)
.then(m => m && FluxDispatcher.dispatch({ .then(m => m && FluxDispatcher.dispatch({
type: "MESSAGE_UPDATE", type: "MESSAGE_UPDATE",
message: msg message: msg