aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/compose/send.go1
-rw-r--r--widgets/compose.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/commands/compose/send.go b/commands/compose/send.go
index 5af725c4..4029552e 100644
--- a/commands/compose/send.go
+++ b/commands/compose/send.go
@@ -140,6 +140,7 @@ func send(aerc *widgets.Aerc, composer *widgets.Composer, ctx sendCtx,
// so we do everything in a goroutine and hide the composer from the user
aerc.RemoveTab(composer)
aerc.PushStatus("Sending...", 10*time.Second)
+ log.Debugf("send uri: %s", ctx.uri.String())
// enter no-quit mode
mode.NoQuit()
diff --git a/widgets/compose.go b/widgets/compose.go
index aad566f5..3ae41989 100644
--- a/widgets/compose.go
+++ b/widgets/compose.go
@@ -151,7 +151,7 @@ func (c *Composer) setupFor(view *AccountView) error {
// set new account
c.acct = view
c.worker = view.Worker()
-
+ c.acctConfig = c.acct.AccountConfig()
// Set from header if not already in header
if fl, err := c.header.AddressList("from"); err != nil || fl == nil {
c.header.SetAddressList("from", []*mail.Address{view.acct.From})