Commit a24f66ac authored by Laurent Montel's avatar Laurent Montel 😁

Remove redundant check

parent 40dc1390
......@@ -342,7 +342,7 @@ bool MailClient::send(const KIdentityManagement::Identity &identity,
}
}
if (transport && transport->specifySenderOverwriteAddress()) {
if (transport->specifySenderOverwriteAddress()) {
qjob->addressAttribute().setFrom(
KEmailAddress::extractEmailAddress(
KEmailAddress::normalizeAddressesAndEncodeIdn(transport->senderOverwriteAddress())));
......
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