mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
fix: index typo in loop for thumbnail download
This commit is contained in:
parent
41b488a71e
commit
1c7a26b65e
|
@ -218,7 +218,7 @@ async function processQuoteAttachments(
|
|||
const isOpenGroupV2 = convo.isOpenGroupV2();
|
||||
const openGroupV2Details = (isOpenGroupV2 && convo.toOpenGroupV2()) || undefined;
|
||||
|
||||
for (let index = 0; index < quote.attachments.length - 1; index++) {
|
||||
for (let index = 0; index < quote.attachments.length; index++) {
|
||||
// If we already have a path, then we copied this image from the quoted
|
||||
// message and we don't need to download the attachment.
|
||||
const attachment = quote.attachments[index];
|
||||
|
|
Loading…
Reference in a new issue