Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 60c71d1f authored by Laurent Montel's avatar Laurent Montel 😁

Don't duplicate identity when we resend email/reedit message.

bug reported by David.
CCMAIL: faure@kde.org
parent c84abce1
......@@ -546,7 +546,7 @@ KMCommand::Result KMEditMessageCommand::execute()
bool lastEncrypt = false;
bool lastSign = false;
KMail::Util::lastEncryptAndSignState(lastEncrypt, lastSign, mMessage);
win->setMessage( mMessage, lastSign, lastEncrypt, true, true );
win->setMessage( mMessage, lastSign, lastEncrypt, false, true );
win->show();
return OK;
}
......@@ -587,7 +587,7 @@ KMCommand::Result KMEditItemCommand::execute()
bool lastEncrypt = false;
bool lastSign = false;
KMail::Util::lastEncryptAndSignState(lastEncrypt, lastSign, msg);
win->setMessage( msg, lastSign, lastEncrypt, true, true );
win->setMessage( msg, lastSign, lastEncrypt, false, true );
win->setFolder( item.parentCollection() );
......@@ -1584,7 +1584,7 @@ KMCommand::Result KMResendMessageCommand::execute()
bool lastEncrypt = false;
bool lastSign = false;
KMail::Util::lastEncryptAndSignState(lastEncrypt, lastSign, msg);
win->setMessage( newMsg, lastSign, lastEncrypt, true, true );
win->setMessage( newMsg, lastSign, lastEncrypt, false, true );
win->show();
......
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