diff options
author | Zach DeCook <zdecook@ccel.org> | 2020-06-25 13:50:05 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-06-29 16:31:48 +0200 |
commit | 0aff774c5d15fd3f63b8e2e586706b2802e13a4e (patch) | |
tree | 708b54272b2fc64734344d7486bfc007b6805d8f /plugins | |
parent | 1f9fe0b169c1cf458049b85d7fcee4236f06e5d9 (diff) | |
download | alps-0aff774c5d15fd3f63b8e2e586706b2802e13a4e.tar.gz alps-0aff774c5d15fd3f63b8e2e586706b2802e13a4e.zip |
Stay on the same page after moving a message
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/base/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/routes.go b/plugins/base/routes.go index d3ff371..b519a6b 100644 --- a/plugins/base/routes.go +++ b/plugins/base/routes.go @@ -753,7 +753,7 @@ func handleMove(ctx *alps.Context) error { if path := formOrQueryParam(ctx, "next"); path != "" { return ctx.Redirect(http.StatusFound, path) } - return ctx.Redirect(http.StatusFound, fmt.Sprintf("/mailbox/%v", url.PathEscape(to))) + return ctx.Redirect(http.StatusFound, fmt.Sprintf("/mailbox/%v", url.PathEscape(mboxName))) } func handleDelete(ctx *alps.Context) error { |