Commit 1d14ddb5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix BUG 435431 Edit menu (Variables submenu) doesn't work as advertised

FIXED-IN: 5.17.0
BUG: 435431
parent abe413b4
Pipeline #57373 skipped
......@@ -243,7 +243,7 @@ QString ConvertSnippetVariablesJob::getFirstNameFromEmail(const QString &address
for (const QString &str : lst) {
KMime::Types::Mailbox address;
address.fromUnicodeString(KEmailAddress::normalizeAddressesAndEncodeIdn(str));
const QString firstName = TemplateParser::Util::getLastNameFromEmail(address.name());
const QString firstName = TemplateParser::Util::getFirstNameFromEmail(address.name());
if (!firstName.isEmpty()) {
resultName << firstName;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment