Update prettier to 3.3.3
This commit is contained in:
parent
1773ad1e11
commit
24a22bf191
109 changed files with 452 additions and 392 deletions
|
@ -3134,9 +3134,8 @@ export class ConversationModel extends window.Backbone
|
|||
return;
|
||||
}
|
||||
|
||||
const hadSession = await window.textsecure.storage.protocol.hasSessionWith(
|
||||
originalPni
|
||||
);
|
||||
const hadSession =
|
||||
await window.textsecure.storage.protocol.hasSessionWith(originalPni);
|
||||
|
||||
if (!hadSession) {
|
||||
log.info(`${logId}: not adding, no PNI session`);
|
||||
|
@ -3948,9 +3947,8 @@ export class ConversationModel extends window.Backbone
|
|||
if (!sendHQImages) {
|
||||
attachmentsToSend = await Promise.all(
|
||||
attachmentsToSend.map(async attachment => {
|
||||
const downscaledAttachment = await downscaleOutgoingAttachment(
|
||||
attachment
|
||||
);
|
||||
const downscaledAttachment =
|
||||
await downscaleOutgoingAttachment(attachment);
|
||||
if (downscaledAttachment !== attachment && attachment.path) {
|
||||
drop(deleteAttachmentData(attachment.path));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue