fix: send to internal

This commit is contained in:
James Houlahan
2020-08-05 10:43:52 +02:00
parent 145da7ffa5
commit b700a7823e

View File

@ -512,7 +512,7 @@ func (b *sendPreferencesBuilder) setMIMEPreferences(composerMIMEType string) {
// Otherwise we use the MIME type from the encryption preferences, unless
// the plain text option has been selecting in the composer, which should
// enforce 'text/plain' and override the encryption preference.
if b.shouldSign() {
if !b.isInternal() && b.shouldSign() {
switch b.getScheme() {
case pgpInline:
b.withMIMEType("text/plain")