diff options
Diffstat (limited to 'commands/msgview/open.go')
-rw-r--r-- | commands/msgview/open.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/msgview/open.go b/commands/msgview/open.go index a8443404..3943b21a 100644 --- a/commands/msgview/open.go +++ b/commands/msgview/open.go @@ -8,6 +8,7 @@ import ( "path/filepath" "git.sr.ht/~rjarry/aerc/app" + "git.sr.ht/~rjarry/aerc/commands" "git.sr.ht/~rjarry/aerc/lib" "git.sr.ht/~rjarry/aerc/log" ) @@ -18,7 +19,11 @@ type Open struct { } func init() { - register(Open{}) + commands.Register(Open{}) +} + +func (Open) Context() commands.CommandContext { + return commands.MESSAGE_VIEWER } func (Open) Options() string { |