1 parent
1bb398acd1
commit
1309358b68
17 files changed
+239
-50
No files matched your search
@@ -1404,6 +1404,10 @@ function scheduleUnusedInlineAttachmentCleanup() {
|
||||
}
|
||||
|
||||
async function cleanupUnusedInlineAttachments() {
|
||||
if (state.composeUploading) {
|
||||
scheduleUnusedInlineAttachmentCleanup();
|
||||
return;
|
||||
}
|
||||
syncComposeInlineAttachments();
|
||||
const referenced = composeInlineAttachmentIds();
|
||||
const staleSignatureIds = [...state.signatureAttachmentIds].filter((id) => !referenced.has(id));
|
||||
|
||||
Reference in new issue
Block a user