Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
5d74180a
Commit
5d74180a
authored
Sep 28, 2022
by
Sandro Knauß
🐝
Browse files
Autocrypt does not force to always encrypt.
parent
5825bba1
Changes
1
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/composer/keyresolver.cpp
View file @
5d74180a
...
...
@@ -1510,8 +1510,6 @@ std::vector<GpgME::Key> Kleo::KeyResolver::getEncryptionKeys(const QString &pers
// Accept any autocrypt key, as the validility is not used in Autocrypt.
if
(
matchingKeys
.
size
()
==
1
)
{
if
(
recipient
->
prefer_encrypt
())
{
d
->
mContactPreferencesMap
[
address
].
encryptionPreference
=
AlwaysEncrypt
;
}
else
{
d
->
mContactPreferencesMap
[
address
].
encryptionPreference
=
AlwaysEncryptIfPossible
;
}
d
->
mAutocryptMap
[
matchingKeys
[
0
].
primaryFingerprint
()]
=
address
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment