[PATCH] move message: stay on the same page after move
Export this patch
---
plugins/base/routes.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 {
--
2.26.2
Pushed, thanks!