mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Merge c1f1faca58 into c154d23cfe
This commit is contained in:
commit
54de298a2b
1 changed files with 3 additions and 1 deletions
|
|
@ -1634,7 +1634,9 @@ export class ComposePopupView extends AbstractViewPopup {
|
||||||
Object.entries(PgpUserStore.getPublicKeyOfEmails(recipients) || {}).forEach(([k,v]) =>
|
Object.entries(PgpUserStore.getPublicKeyOfEmails(recipients) || {}).forEach(([k,v]) =>
|
||||||
params.autocrypt.push({
|
params.autocrypt.push({
|
||||||
addr: k,
|
addr: k,
|
||||||
keydata: v.replace(/-----(BEGIN|END) PGP PUBLIC KEY BLOCK-----/g, '').trim()
|
keydata: v
|
||||||
|
.replace(/-----(BEGIN|END) PGP PUBLIC KEY BLOCK-----/g, '')
|
||||||
|
.replace(/\s+/g, '') // Single base64 string, let the server do compliance formatting
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
for (let i = 0; i < encryptOptions.length; ++i) {
|
for (let i = 0; i < encryptOptions.length; ++i) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue