Commit 813f7118 authored by Laurent Montel's avatar Laurent Montel 😁

Fix bug

parent de2d26bf
...@@ -157,8 +157,7 @@ void applyIdentity( const KMime::Message::Ptr &message, const KPIMIdentities::Id ...@@ -157,8 +157,7 @@ void applyIdentity( const KMime::Message::Ptr &message, const KPIMIdentities::Id
} }
if (ident.disabledFcc()) { if (ident.disabledFcc()) {
//TODO verify why ident.templates ? bug ? KMime::Headers::Generic *header = new KMime::Headers::Generic( "X-KMail-FccDisabled", message.get(), QLatin1String("true"), "utf-8" );
KMime::Headers::Generic *header = new KMime::Headers::Generic( "X-KMail-FccDisabled", message.get(), ident.templates(), "utf-8" );
message->setHeader( header ); message->setHeader( header );
} else { } else {
message->removeHeader("X-KMail-FccDisabled"); message->removeHeader("X-KMail-FccDisabled");
......
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