diff options
Diffstat (limited to 'commands/account/compose.go')
-rw-r--r-- | commands/account/compose.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/account/compose.go b/commands/account/compose.go index 15fc354..c9be17a 100644 --- a/commands/account/compose.go +++ b/commands/account/compose.go @@ -17,8 +17,8 @@ func Compose(aerc *widgets.Aerc, args []string) error { if len(args) != 1 { return errors.New("Usage: compose") } - // TODO: Pass along the sender info - composer := widgets.NewComposer() + acct := aerc.SelectedAccount() + composer := widgets.NewComposer(acct.AccountConfig()) // TODO: Change tab name when message subject changes aerc.NewTab(composer, runewidth.Truncate( "New email", 32, "…")) |