From 1841609fbc7a16a657e530e0a208419af7791bd0 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 16 Dec 2019 17:25:53 +0100 Subject: Add form to move messages References: https://todo.sr.ht/~sircmpwn/koushin/36 --- plugins/base/plugin.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/base/plugin.go') diff --git a/plugins/base/plugin.go b/plugins/base/plugin.go index 7c2aeaf..7eaf00c 100644 --- a/plugins/base/plugin.go +++ b/plugins/base/plugin.go @@ -45,5 +45,7 @@ func init() { p.GET("/message/:mbox/:uid/reply", handleCompose) p.POST("/message/:mbox/:uid/reply", handleCompose) + p.POST("/message/:mbox/:uid/move", handleMove) + koushin.RegisterPlugin(p.Plugin()) } -- cgit v1.2.3-59-g8ed1b