Changeset View
Changeset View
Standalone View
Standalone View
src/kmcommands.cpp
Context not available. | |||||
1437 | const auto msg = item.payload<KMime::Message::Ptr>(); | 1437 | const auto msg = item.payload<KMime::Message::Ptr>(); | ||
---|---|---|---|---|---|
1438 | bool wasEncrypted; | 1438 | bool wasEncrypted; | ||
1439 | auto decMsg = MailCommon::CryptoUtils::decryptMessage(msg, wasEncrypted); | 1439 | auto decMsg = MailCommon::CryptoUtils::decryptMessage(msg, wasEncrypted); | ||
1440 | if (!wasEncrypted) { | 1440 | if (!decMsg || !wasEncrypted) { | ||
1441 | decMsg = msg; | 1441 | decMsg = msg; | ||
1442 | } | 1442 | } | ||
1443 | 1443 | | |||
Context not available. |