Default Autocrypt prefer mutual mode

This commit is contained in:
M66B 2019-07-16 17:58:43 +02:00
parent b8203fe0f0
commit 369a476513
1 changed files with 4 additions and 1 deletions

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)