diff options
author | 2019-12-16 17:25:53 +0100 | |
---|---|---|
committer | 2019-12-16 17:25:53 +0100 | |
commit | 1841609fbc7a16a657e530e0a208419af7791bd0 (patch) | |
tree | 0d6211103711187e62a12a4acc4b1ec04f05f687 /plugins/base/plugin.go | |
parent | a061e85f006bd26f81668107e396d0357f665ce9 (diff) | |
download | alps-1841609fbc7a16a657e530e0a208419af7791bd0.tar.gz alps-1841609fbc7a16a657e530e0a208419af7791bd0.tar.bz2 alps-1841609fbc7a16a657e530e0a208419af7791bd0.zip |
Add form to move messages
References: https://todo.sr.ht/~sircmpwn/koushin/36
Diffstat (limited to 'plugins/base/plugin.go')
-rw-r--r-- | plugins/base/plugin.go | 2 |
1 files changed, 2 insertions, 0 deletions
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()) } |