Phase 02 OpenPGP implementation
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ function downloadAttachment(details) {
|
||||
attachmentMailUi.wrapOpenMessage(baseOpenMessage => function (id) {
|
||||
baseOpenMessage(id);
|
||||
const message = attachmentMailUi.state.messages.find(item => item.id === id);
|
||||
if (!message?.uid) return;
|
||||
if (!message?.uid || message.pgpDecrypted) return;
|
||||
selectAllAttachmentUi('#reader-pane .attachment').forEach(row => {
|
||||
const download = row.querySelector('.download');
|
||||
if (!download || row.querySelector('.preview-attachment')) return;
|
||||
|
||||
Reference in New Issue
Block a user