Browse Source

Stay on the same page after moving a message

master
Zach DeCook 3 years ago
committed by Simon Ser
parent
commit
0aff774c5d
No known key found for this signature in database GPG Key ID: FDE7BE0E88F5E48
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/base/routes.go

+ 1
- 1
plugins/base/routes.go View File

@@ -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 {


Loading…
Cancel
Save