diff options
Diffstat (limited to 'commands/msg/envelope.go')
-rw-r--r-- | commands/msg/envelope.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/msg/envelope.go b/commands/msg/envelope.go index 62a266b0..24867fc1 100644 --- a/commands/msg/envelope.go +++ b/commands/msg/envelope.go @@ -6,6 +6,7 @@ import ( "strings" "git.sr.ht/~rjarry/aerc/app" + "git.sr.ht/~rjarry/aerc/commands" "git.sr.ht/~rjarry/aerc/lib/format" "git.sr.ht/~rjarry/aerc/log" "git.sr.ht/~rjarry/aerc/models" @@ -18,7 +19,11 @@ type Envelope struct { } func init() { - register(Envelope{}) + commands.Register(Envelope{}) +} + +func (Envelope) Context() commands.CommandContext { + return commands.MESSAGE } func (Envelope) Aliases() []string { |