Include link to comment in email notifications

pull/443/head
Pelle Nilsson 6 years ago
parent 2e85ec653f
commit bc4bc55025

@ -111,10 +111,12 @@ class SMTP(object):
rv.write("User's URL: %s\n" % comment["website"])
rv.write("IP address: %s\n" % comment["remote_addr"])
rv.write("Link to comment: %s\n" %
(local("origin") + thread["uri"] + "#isso-%i" % comment["id"]))
rv.write("\n")
rv.write("Link to comment: %s\n" %
(local("origin") + thread["uri"] + "#isso-%i" % comment["id"]))
rv.write("\n")
if admin:
uri = local("host") + "/id/%i" % comment["id"]
key = self.isso.sign(comment["id"])

Loading…
Cancel
Save