diff options
Diffstat (limited to 'commands/msg/toggle-thread-context.go')
-rw-r--r-- | commands/msg/toggle-thread-context.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/msg/toggle-thread-context.go b/commands/msg/toggle-thread-context.go index 4b87eaa8..dfae3a22 100644 --- a/commands/msg/toggle-thread-context.go +++ b/commands/msg/toggle-thread-context.go @@ -1,13 +1,18 @@ package msg import ( + "git.sr.ht/~rjarry/aerc/commands" "git.sr.ht/~rjarry/aerc/lib/ui" ) type ToggleThreadContext struct{} func init() { - register(ToggleThreadContext{}) + commands.Register(ToggleThreadContext{}) +} + +func (ToggleThreadContext) Context() commands.CommandContext { + return commands.MESSAGE } func (ToggleThreadContext) Aliases() []string { |