<table><tr><td style="">dvratil created this revision.<br />dvratil added a project: KDE PIM.<br />Restricted Application added a subscriber: KDE PIM.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7189" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This change toggles the default behavior of composer and will always store drafts encrypted - but only if user has enabled encryption in the composer. If the "Encrypt" action is not enabled, the draft will not be stored encrypted.</p>

<p>This change also renames the option NeverEncryptDrafts to AlwaysEncryptDrafs to avoid the "double negative" when doing <tt style="background: #ebebeb; font-size: 13px;">!cfg->neverEncryptDrafts</tt>. It's also a neat hack to get the same defaults for all users :-)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R206 KMail</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7189" rel="noreferrer">https://phabricator.kde.org/D7189</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/configuredialog/configuresecuritypage.cpp<br />
src/editor/kmcomposerwin.cpp<br />
src/settings/kmail.kcfg.cmake<br />
src/ui/composercryptoconfiguration.ui</div></div></div><br /><div><strong>To: </strong>dvratil, mlaurent, aheinecke<br /><strong>Cc: </strong>KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>