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
53343c53
Commit
53343c53
authored
Sep 11, 2022
by
Sandro Knauß
🐝
Browse files
Remove workaround from gpgme 0.3.x
Currently we depend on gpgme 1.16.x
parent
e9ddff11
Changes
1
Hide whitespace changes
Inline
Side-by-side
mimetreeparser/src/messagepart.cpp
View file @
53343c53
...
...
@@ -885,11 +885,6 @@ void SignedMessagePart::sigStatusToMetaData()
// won't trust implicitly the plugin that gave us these data.
if
(
key
.
userID
(
iMail
).
email
())
{
QString
email
=
QString
::
fromUtf8
(
key
.
userID
(
iMail
).
email
());
// ### work around gpgme 0.3.x / cryptplug bug where the
// ### email addresses are specified as angle-addr, not addr-spec:
if
(
email
.
startsWith
(
QLatin1Char
(
'<'
))
&&
email
.
endsWith
(
QLatin1Char
(
'>'
)))
{
email
=
email
.
mid
(
1
,
email
.
length
()
-
2
);
}
if
(
!
email
.
isEmpty
())
{
partMetaData
()
->
signerMailAddresses
.
append
(
email
);
}
...
...
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