about summary refs log tree commit diff
path: root/web/panettone/src/panettone.lisp
diff options
context:
space:
mode:
authorglittershark <grfn@gws.fyi>2020-11-18T14·08+0000
committerglittershark <grfn@gws.fyi>2020-11-19T00·29+0000
commite1067b1497b3dea0c37ae51bba21f42f1e7d35b5 (patch)
treeb3c68b9c65e08616a3e0dc7cefc5abdfa5d49be8 /web/panettone/src/panettone.lisp
parent4331bc8da76ae67a43d64ff5355598a2699a647f (diff)
revert(panettone): announce newly created issues using irccat r/1884
This reverts commit 2e2bdf9c6ce1cd66ba5cfe1a42786a6f486b7969.

Reason for revert: this is not working, and is resulting in newly created issues just showing a blank page (b/74)

Change-Id: I3f06afc52d6c5289269402fc75bb32ad9c376bf4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2082
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'web/panettone/src/panettone.lisp')
-rw-r--r--web/panettone/src/panettone.lisp12
1 files changed, 4 insertions, 8 deletions
diff --git a/web/panettone/src/panettone.lisp b/web/panettone/src/panettone.lisp
index 9135bcf8dd..cef3572214 100644
--- a/web/panettone/src/panettone.lisp
+++ b/web/panettone/src/panettone.lisp
@@ -450,14 +450,10 @@
       (render/issue-form
        (make-instance 'model:issue :subject subject :body body)
        "Subject is required")
-      (let ((issue
-              (model:create-issue :subject subject
-                                  :body body
-                                  :author-dn (dn *user*))))
-        (send-irc-notification (format nil "b/~A: \"~A\" opened by ~A - https://b.tvl.fyi/issues/~A"
-                                       (issue-id issue) subject (dn *user*)
-                                       (issue-id issue))
-                               :channel (uiop:getenvp "ISSUECHANNEL"))
+      (progn
+        (model:create-issue :subject subject
+                            :body body
+                            :author-dn (dn *user*))
         (hunchentoot:redirect "/"))))
 
 (defroute show-issue