From 2453375721832304b512380e6610de2c3d765bd5 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Wed, 28 Feb 2024 23:55:20 +0100 Subject: 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 Reviewed-by: Tim Culverhouse --- commands/account/next.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/account/next.go') diff --git a/commands/account/next.go b/commands/account/next.go index 262e308d..4245dd60 100644 --- a/commands/account/next.go +++ b/commands/account/next.go @@ -24,7 +24,7 @@ func init() { } func (NextPrevMsg) Context() commands.CommandContext { - return commands.ACCOUNT | commands.MESSAGE_VIEWER + return commands.MESSAGE_LIST | commands.MESSAGE_VIEWER } func (np *NextPrevMsg) ParseAmount(arg string) error { -- cgit