forked from Silverfish/proton-bridge
fix: use correct package type for signed inline
This commit is contained in:
@ -192,7 +192,7 @@ func (b *sendPreferencesBuilder) build() (p SendPreferences) {
|
|||||||
p.Scheme = pmapi.PGPMIMEPackage
|
p.Scheme = pmapi.PGPMIMEPackage
|
||||||
}
|
}
|
||||||
|
|
||||||
case b.shouldSign() && !b.shouldEncrypt():
|
case b.shouldSign() && !b.shouldEncrypt() && b.getScheme() == pgpMIME:
|
||||||
p.Scheme = pmapi.ClearMIMEPackage
|
p.Scheme = pmapi.ClearMIMEPackage
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user