aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msgview/save.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msgview/save.go')
-rw-r--r--commands/msgview/save.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/msgview/save.go b/commands/msgview/save.go
index bcaf9eb2..d9320293 100644
--- a/commands/msgview/save.go
+++ b/commands/msgview/save.go
@@ -26,7 +26,11 @@ type Save struct {
}
func init() {
- register(Save{})
+ commands.Register(Save{})
+}
+
+func (Save) Context() commands.CommandContext {
+ return commands.MESSAGE_VIEWER
}
func (Save) Options() string {