mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 14:56:42 +00:00
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