From f28f77e74787ff2e5da878e8964bd0caa2e6db40 Mon Sep 17 00:00:00 2001 From: Chris Hutchison Date: Sat, 21 Apr 2018 08:34:33 -0400 Subject: [PATCH] Update notifications.py --- isso/ext/notifications.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/isso/ext/notifications.py b/isso/ext/notifications.py index 6012c5a..14099d4 100644 --- a/isso/ext/notifications.py +++ b/isso/ext/notifications.py @@ -115,7 +115,10 @@ class SMTP(object): (local("origin") + thread["uri"] + "#isso-%i" % comment["id"])) rv.write("\n") - uri = self.general_host + "/id/%i" % comment["id"] + # uri = self.general_host + "/id/%i" % comment["id"] + name = isso.conf.get("general", "name") + uri = os.environ['ISSO_DOMAIN'] + "/" + name + key = self.isso.sign(comment["id"]) rv.write("---\n")