Merge pull request #535 from Kwpolska/patch-1

Include user e-mails in admin notifications only
master
Jelmer Vernooij 5 years ago committed by GitHub
commit 8c82ffde9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -109,7 +109,7 @@ class SMTP(object):
rv = io.StringIO()
author = comment["author"] or "Anonymous"
if comment["email"]:
if admin and comment["email"]:
author += " <%s>" % comment["email"]
rv.write(author + " wrote:\n")

Loading…
Cancel
Save