Add some basic support for Linked Data (Structured Email) #1422

This commit is contained in:
the-djmaze 2024-02-05 14:52:23 +01:00
parent ea07ea45b8
commit be633f78a7
5 changed files with 322 additions and 3 deletions

View file

@ -1415,7 +1415,13 @@ export class ComposePopupView extends AbstractViewPopup {
// Only used at send, not at save:
dsn: this.requestDsn() ? 1 : 0,
requireTLS: this.requireTLS() ? 1 : 0,
readReceiptRequest: this.requestReadReceipt() ? 1 : 0
readReceiptRequest: this.requestReadReceipt() ? 1 : 0,
/**
* Basic support for Linked Data (Structured Email)
* https://json-ld.org/
* https://structured.email/
**/
linkedData: []
},
recipients = draft ? [identity.email()] : this.allRecipients(),
sign = !draft && this.pgpSign() && this.canPgpSign(),