Skip to content

Commit 3f64b53

Browse files
committed
Delete receipt when the nomination and feedback are privates
See ietf-tools#929 ietf-tools#970 - Legacy-Id: 5575
1 parent 2906419 commit 3f64b53

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/nomcom/forms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def save(self, commit=True):
424424
send_mail(None, to_email, from_email, subject, path, context)
425425

426426
# send receipt email to nominator
427-
if confirmation or not self.public:
427+
if confirmation:
428428
if author:
429429
subject = 'Nomination Receipt'
430430
from_email = settings.NOMCOM_FROM_EMAIL
@@ -542,7 +542,7 @@ def save(self, commit=True):
542542
feedback.positions.add(self.position)
543543

544544
# send receipt email to feedback author
545-
if confirmation or not self.public:
545+
if confirmation:
546546
if author:
547547
subject = "NomCom comment confirmation"
548548
from_email = settings.NOMCOM_FROM_EMAIL

0 commit comments

Comments
 (0)