diff options
Diffstat (limited to 'commands/account/view.go')
-rw-r--r-- | commands/account/view.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/account/view.go b/commands/account/view.go index 87705a1a..4177b906 100644 --- a/commands/account/view.go +++ b/commands/account/view.go @@ -5,6 +5,7 @@ import ( "errors" "git.sr.ht/~rjarry/aerc/app" + "git.sr.ht/~rjarry/aerc/commands" "git.sr.ht/~rjarry/aerc/lib" "git.sr.ht/~rjarry/aerc/lib/state" "git.sr.ht/~rjarry/aerc/lib/templates" @@ -16,7 +17,11 @@ type ViewMessage struct { } func init() { - register(ViewMessage{}) + commands.Register(ViewMessage{}) +} + +func (ViewMessage) Context() commands.CommandContext { + return commands.ACCOUNT } func (ViewMessage) Aliases() []string { |