aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msgview/open-link.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msgview/open-link.go')
-rw-r--r--commands/msgview/open-link.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/msgview/open-link.go b/commands/msgview/open-link.go
index b13f5d4f..e64e6e2f 100644
--- a/commands/msgview/open-link.go
+++ b/commands/msgview/open-link.go
@@ -16,7 +16,11 @@ type OpenLink struct {
}
func init() {
- register(OpenLink{})
+ commands.Register(OpenLink{})
+}
+
+func (OpenLink) Context() commands.CommandContext {
+ return commands.MESSAGE_VIEWER
}
func (OpenLink) Aliases() []string {