1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-01 12:08:46 +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);
}
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)