forked from Silverfish/proton-bridge
fix: send to internal
This commit is contained in:
@ -512,7 +512,7 @@ func (b *sendPreferencesBuilder) setMIMEPreferences(composerMIMEType string) {
|
|||||||
// Otherwise we use the MIME type from the encryption preferences, unless
|
// Otherwise we use the MIME type from the encryption preferences, unless
|
||||||
// the plain text option has been selecting in the composer, which should
|
// the plain text option has been selecting in the composer, which should
|
||||||
// enforce 'text/plain' and override the encryption preference.
|
// enforce 'text/plain' and override the encryption preference.
|
||||||
if b.shouldSign() {
|
if !b.isInternal() && b.shouldSign() {
|
||||||
switch b.getScheme() {
|
switch b.getScheme() {
|
||||||
case pgpInline:
|
case pgpInline:
|
||||||
b.withMIMEType("text/plain")
|
b.withMIMEType("text/plain")
|
||||||
|
|||||||
Reference in New Issue
Block a user