1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 18:06:22 +00:00

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 Luna
parent dfa17bb945
commit 45cf1bb051

View file

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