~emersion/alps-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] move message: stay on the same page after move

Zach DeCook
Details
Message ID
<20200625175005.52130-1-zdecook@ccel.org>
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 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
Details
Message ID
<xlpMBSvJHDz1Bm1jlSJEDeBuvfvIc9GLx-2s4cL0EPMcUfJKJF1YGOG4NW69Wh-p_r2WE-tUCoY8-yqh00InAD6JCLQ1aRgCacHu7hAMJNY=@emersion.fr>
In-Reply-To
<20200625175005.52130-1-zdecook@ccel.org> (view parent)
DKIM signature
pass
Download raw message
Pushed, thanks!
Reply to thread Export thread (mbox)