Commit 6296818e authored by Laurent Montel's avatar Laurent Montel 😁

Fix Bug 359964 - "Kmailleaks", or what to improve to make Kmail more privacy friendly.

FIXED-IN: 5.4.0
BUG: 359964
parent 2b775153
......@@ -194,15 +194,6 @@ void SkeletonMessageJobPrivate::doStart()
}
}
// User-Agent
if (!infoPart->userAgent().isEmpty()) {
QStringList extraInfo;
extraInfo << QLatin1String(MESSAGELIB_GIT_REVISION_STRING) << QLatin1String(MESSAGELIB_GIT_LAST_CHANGE);
KMime::Headers::UserAgent *ua = new KMime::Headers::UserAgent;
ua->fromUnicodeString(KProtocolManager::userAgentForApplication(infoPart->userAgent(), QStringLiteral(MESSAGELIB_LIB_VERSION), extraInfo), "utf-8");
message->setHeader(ua);
}
// Urgent header
if (infoPart->urgent()) {
KMime::Headers::Generic *urg1 = new KMime::Headers::Generic("X-PRIORITY");
......
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