|
|
@ -1471,10 +1471,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 1. Load provided thumbnail
|
|
|
|
// 1. Load provided thumbnail
|
|
|
|
if (this.loadQuoteThumbnail(message, quote)) {
|
|
|
|
const gotThumbnail = this.loadQuoteThumbnail(message, quote);
|
|
|
|
this.forceRender(message);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 2. Check to see if we've already loaded the target message into memory
|
|
|
|
// 2. Check to see if we've already loaded the target message into memory
|
|
|
|
const { author, id } = quote;
|
|
|
|
const { author, id } = quote;
|
|
|
@ -1487,6 +1484,13 @@
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Even if we got the thumbnail locall, we wanted to populate the referenced
|
|
|
|
|
|
|
|
// message so a click can navigate to it.
|
|
|
|
|
|
|
|
if (gotThumbnail) {
|
|
|
|
|
|
|
|
this.forceRender(message);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// We only go further if we need more data for this message. It's always important
|
|
|
|
// We only go further if we need more data for this message. It's always important
|
|
|
|
// to grab the quoted message to allow for navigating to it by clicking.
|
|
|
|
// to grab the quoted message to allow for navigating to it by clicking.
|
|
|
|
const { attachments } = quote;
|
|
|
|
const { attachments } = quote;
|
|
|
|