diff options
Diffstat (limited to 'commands/account/check-mail.go')
-rw-r--r-- | commands/account/check-mail.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/account/check-mail.go b/commands/account/check-mail.go index d31b2648..bc41a935 100644 --- a/commands/account/check-mail.go +++ b/commands/account/check-mail.go @@ -4,12 +4,17 @@ import ( "errors" "git.sr.ht/~rjarry/aerc/app" + "git.sr.ht/~rjarry/aerc/commands" ) type CheckMail struct{} func init() { - register(CheckMail{}) + commands.Register(CheckMail{}) +} + +func (CheckMail) Context() commands.CommandContext { + return commands.ACCOUNT } func (CheckMail) Aliases() []string { |