aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-02-25 15:37:47 +0100
committerSimon Ser <contact@emersion.fr>2020-02-25 15:37:47 +0100
commit8c4fd20e2765e112518a383229a70a27b7984da3 (patch)
tree65c47a46cd442c51bdc67c755b47feefa75adb56 /plugins/base
parent3cfd0b942bda7392fd9f26a64251b4b08a9d2a86 (diff)
downloadalps-8c4fd20e2765e112518a383229a70a27b7984da3.tar.gz
alps-8c4fd20e2765e112518a383229a70a27b7984da3.zip
Revert "plugins/viewhtml: convert mailto links"
This reverts commit 02faf6174b3d94efd1ee3cc842b55001639a8983. This commit doesn't work, because it's applied to <img> tags. Making it handle <a> tags doesn't work either because bluemonday will strip any target="_blank" attributes, making the compose form open in the <iframe>. Let's just revert this whole commit for now.
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/routes.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/base/routes.go b/plugins/base/routes.go
index 9dd110a..ad4d121 100644
--- a/plugins/base/routes.go
+++ b/plugins/base/routes.go
@@ -431,7 +431,6 @@ func handleCompose(ctx *koushin.Context, msg *OutgoingMessage, draft *messagePat
func handleComposeNew(ctx *koushin.Context) error {
// These are common mailto URL query parameters
- // TODO: cc, bcc
return handleCompose(ctx, &OutgoingMessage{
To: strings.Split(ctx.QueryParam("to"), ","),
Subject: ctx.QueryParam("subject"),