GODT-1481: Always turn off non-encrypted recipient report

This commit is contained in:
Jakub
2021-12-16 15:14:42 +01:00
committed by Jakub Cuth
parent 7dad6cc9a4
commit 1dbd37d05b

View File

@ -75,6 +75,9 @@ func mailLoop(b *base.Base, c *cli.Context) error { // nolint[funlen]
return err
}
// GODT-1481: Always turn off reporting of unencrypted recipient in v2.
b.Settings.SetBool(settings.ReportOutgoingNoEncKey, false)
cache, cacheErr := loadMessageCache(b)
if cacheErr != nil {
logrus.WithError(cacheErr).Error("Could not load local cache.")