aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/base/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/routes.go')
-rw-r--r--plugins/base/routes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/routes.go b/plugins/base/routes.go
index 2ef10ff..fa8f35b 100644
--- a/plugins/base/routes.go
+++ b/plugins/base/routes.go
@@ -526,7 +526,6 @@ func submitCompose(ctx *alps.Context, msg *OutgoingMessage, options *composeOpti
if task.Result() == nil {
// Remove from outbox
err := ctx.Session.DoIMAP(func(c *imapclient.Client) error {
- ctx.Logger().Printf("DoIMAP")
if err := ensureMailboxSelected(c, "Outbox"); err != nil {
return err
}
@@ -617,6 +616,7 @@ func handleCompose(ctx *alps.Context, msg *OutgoingMessage, options *composeOpti
msg.Subject = ctx.FormValue("subject")
msg.Text = ctx.FormValue("text")
msg.InReplyTo = ctx.FormValue("in_reply_to")
+ msg.MessageID = ctx.FormValue("message_id")
form, err := ctx.MultipartForm()
if err != nil {