mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
fix: sign not overriding global
This commit is contained in:
@ -402,6 +402,10 @@ func (b *sendPreferencesBuilder) setExternalPGPSettingsWithoutWKDKeys(
|
||||
) (err error) {
|
||||
b.withEncrypt(vCardData.Encrypt)
|
||||
|
||||
if !vCardData.SignMissing && vCardData.Sign {
|
||||
b.withSign()
|
||||
}
|
||||
|
||||
// Sign must be enabled whenever encrypt is.
|
||||
if vCardData.Sign || vCardData.Encrypt {
|
||||
b.withSign()
|
||||
|
||||
Reference in New Issue
Block a user