aboutsummaryrefslogtreecommitdiffstats
path: root/commands/account/next-folder.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2024-02-28 23:55:20 +0100
committerRobin Jarry <robin@jarry.cc>2024-03-04 22:30:14 +0100
commit2453375721832304b512380e6610de2c3d765bd5 (patch)
tree25960ef9ebb75ecb9c8b53fab4d2eea958c9e57f /commands/account/next-folder.go
parent963633eb83dc19089236ac78ba9d823e7e2a6df9 (diff)
downloadaerc-2453375721832304b512380e6610de2c3d765bd5.tar.gz
commands: rename confusing constants
There is an overlap between ACCOUNT and MESSAGE. Rename ACCOUNT to MESSAGE_LIST and use MESSAGE_LIST|MESSAGE_VIEWER instead of MESSAGE. Signed-off-by: Robin Jarry <robin@jarry.cc> Reviewed-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'commands/account/next-folder.go')
-rw-r--r--commands/account/next-folder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/next-folder.go b/commands/account/next-folder.go
index c16a7717..369249ce 100644
--- a/commands/account/next-folder.go
+++ b/commands/account/next-folder.go
@@ -16,7 +16,7 @@ func init() {
}
func (NextPrevFolder) Context() commands.CommandContext {
- return commands.ACCOUNT
+ return commands.MESSAGE_LIST
}
func (NextPrevFolder) Aliases() []string {