proposal_contribution email: set contributor to None when contribution is private
This commit is contained in:
parent
c3449586b6
commit
38cfaa591f
|
@ -85,6 +85,8 @@ def proposal_rejected(email_args):
|
|||
|
||||
|
||||
def proposal_contribution(email_args):
|
||||
if email_args['contribution'].private:
|
||||
email_args['contributor'] = None
|
||||
return {
|
||||
'subject': 'You just got a contribution!',
|
||||
'title': 'You just got a contribution',
|
||||
|
|
Loading…
Reference in New Issue