1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-08 07:26:15 +00:00

Default Autocrypt prefer mutual mode

This commit is contained in:
M66B 2019-07-16 17:58:43 +02:00
parent b8203fe0f0
commit 369a476513

View file

@ -264,7 +264,10 @@ public class MessageHelper {
sb.append(line); sb.append(line);
} }
imessage.addHeader("Autocrypt", "addr=" + from.getAddress() + "; keydata=" + sb.toString()); imessage.addHeader("Autocrypt",
"addr=" + from.getAddress() + ";" +
" prefer-encrypt=mutual;" +
" keydata=" + sb.toString());
} }
for (final EntityAttachment attachment : attachments) for (final EntityAttachment attachment : attachments)