aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/aerc.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r--widgets/aerc.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index af51a0f4..d324908b 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -431,8 +431,11 @@ func (aerc *Aerc) Mailto(addr *url.URL) error {
defaults[header] = strings.Join(vals, ",")
}
}
- composer := NewComposer(aerc, aerc.Config(),
- acct.AccountConfig(), acct.Worker(), defaults)
+ composer, err := NewComposer(aerc, aerc.Config(),
+ acct.AccountConfig(), acct.Worker(), "", defaults)
+ if err != nil {
+ return nil
+ }
composer.FocusSubject()
title := "New email"
if subj, ok := defaults["Subject"]; ok {