mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 15:07:02 +03:00
Enable RFC 8689
This commit is contained in:
parent
1126712d11
commit
e23e0138a9
48 changed files with 113 additions and 54 deletions
|
|
@ -42,7 +42,7 @@ export class UserSettingsGeneral extends AbstractViewSettings {
|
|||
this.threadsAllowed = AppUserStore.threadsAllowed;
|
||||
|
||||
['layout', 'messageReadDelay', 'messagesPerPage',
|
||||
'editorDefaultType', 'requestReadReceipt', 'requestDsn', 'pgpSign', 'pgpEncrypt',
|
||||
'editorDefaultType', 'requestReadReceipt', 'requestDsn', 'requireTLS', 'pgpSign', 'pgpEncrypt',
|
||||
'viewHTML', 'showImages', 'removeColors', 'hideDeleted', 'listInlineAttachments', 'simpleAttachmentsList',
|
||||
'useCheckboxesInList', 'listGrouped', 'useThreads', 'replySameFolder', 'msgDefaultAction', 'allowSpellcheck'
|
||||
].forEach(name => this[name] = SettingsUserStore[name]);
|
||||
|
|
@ -100,7 +100,7 @@ export class UserSettingsGeneral extends AbstractViewSettings {
|
|||
|
||||
this.addSettings(['ViewHTML', 'ShowImages', 'HideDeleted', 'ListInlineAttachments', 'simpleAttachmentsList',
|
||||
'UseCheckboxesInList', 'listGrouped', 'ReplySameFolder',
|
||||
'requestReadReceipt', 'requestDsn', 'pgpSign', 'pgpEncrypt', 'allowSpellcheck',
|
||||
'requestReadReceipt', 'requestDsn', 'requireTLS', 'pgpSign', 'pgpEncrypt', 'allowSpellcheck',
|
||||
'DesktopNotifications', 'SoundNotification']);
|
||||
|
||||
const fReloadLanguageHelper = (saveSettingsStep) => () => {
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ export const SettingsUserStore = new class {
|
|||
|
||||
requestReadReceipt: 0,
|
||||
requestDsn: 0,
|
||||
requireTLS: 0,
|
||||
pgpSign: 0,
|
||||
pgpEncrypt: 0,
|
||||
allowSpellcheck: 0,
|
||||
|
|
@ -97,6 +98,7 @@ export const SettingsUserStore = new class {
|
|||
|
||||
self.requestReadReceipt(SettingsGet('requestReadReceipt'));
|
||||
self.requestDsn(SettingsGet('requestDsn'));
|
||||
self.requireTLS(SettingsGet('requireTLS'));
|
||||
self.pgpSign(SettingsGet('pgpSign'));
|
||||
self.pgpEncrypt(SettingsGet('pgpEncrypt'));
|
||||
self.allowSpellcheck(SettingsGet('allowSpellcheck'));
|
||||
|
|
|
|||
|
|
@ -231,6 +231,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
|
||||
requestDsn: false,
|
||||
requestReadReceipt: false,
|
||||
requireTLS: false,
|
||||
markAsImportant: false,
|
||||
|
||||
sendError: false,
|
||||
|
|
@ -1270,6 +1271,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
|
||||
this.requestDsn(SettingsUserStore.requestDsn());
|
||||
this.requestReadReceipt(SettingsUserStore.requestReadReceipt());
|
||||
this.requireTLS(SettingsUserStore.requireTLS());
|
||||
this.markAsImportant(false);
|
||||
|
||||
this.bodyArea();
|
||||
|
|
@ -1422,6 +1424,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
attachments: attachments,
|
||||
// Only used at send, not at save:
|
||||
dsn: this.requestDsn() ? 1 : 0,
|
||||
requireTLS: this.requireTLS() ? 1 : 0,
|
||||
readReceiptRequest: this.requestReadReceipt() ? 1 : 0
|
||||
},
|
||||
recipients = draft ? [identity.email()] : this.allRecipients(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue