mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-24 10:56:43 +00:00
feat: add expiry
This commit is contained in:
@ -105,7 +105,7 @@ func (sb *smtpBackend) shouldReportOutgoingNoEnc() bool {
|
||||
}
|
||||
|
||||
func (sb *smtpBackend) ConfirmNoEncryption(messageID string, shouldSend bool) {
|
||||
if err := sb.confirmer.SetResponse(messageID, shouldSend); err != nil {
|
||||
if err := sb.confirmer.SetResult(messageID, shouldSend); err != nil {
|
||||
logrus.WithError(err).Error("Failed to set confirmation value")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user