diff options
Diffstat (limited to 'commands/account')
-rw-r--r-- | commands/account/compose.go | 3 | ||||
-rw-r--r-- | commands/account/recover.go | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/commands/account/compose.go b/commands/account/compose.go index fb37b231..5695bb7d 100644 --- a/commands/account/compose.go +++ b/commands/account/compose.go @@ -13,7 +13,6 @@ import ( "git.sr.ht/~rjarry/aerc/config" "git.sr.ht/~rjarry/aerc/lib/ui" "git.sr.ht/~rjarry/aerc/log" - "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/widgets" "git.sr.ht/~sircmpwn/getopt" ) @@ -55,7 +54,7 @@ func (Compose) Execute(aerc *widgets.Aerc, args []string) error { composer, err := widgets.NewComposer(aerc, acct, acct.AccountConfig(), acct.Worker(), - template, &headers, models.OriginalMail{}) + template, &headers, nil) if err != nil { return err } diff --git a/commands/account/recover.go b/commands/account/recover.go index 8ce878ee..cef0720f 100644 --- a/commands/account/recover.go +++ b/commands/account/recover.go @@ -10,7 +10,6 @@ import ( "git.sr.ht/~rjarry/aerc/commands" "git.sr.ht/~rjarry/aerc/lib/ui" "git.sr.ht/~rjarry/aerc/log" - "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/widgets" "git.sr.ht/~sircmpwn/getopt" ) @@ -103,7 +102,7 @@ func (Recover) Execute(aerc *widgets.Aerc, args []string) error { composer, err := widgets.NewComposer(aerc, acct, acct.AccountConfig(), acct.Worker(), - "", nil, models.OriginalMail{}) + "", nil, nil) if err != nil { return err } |