aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose
diff options
context:
space:
mode:
authorBence Ferdinandy <bence@ferdinandy.com>2023-01-12 12:29:17 +0100
committerRobin Jarry <robin@jarry.cc>2023-01-26 00:20:39 +0100
commit31bc8cdad990f53ed061cf5b56a3601f1ab741d1 (patch)
tree3d76be42b965da4132a12d389b37043ffd62c2cd /commands/compose
parent38d63cb7f78835e4f99573f09bea6d5441a15af3 (diff)
downloadaerc-31bc8cdad990f53ed061cf5b56a3601f1ab741d1.tar.gz
switch-account: also switch account configuration
When switching accounts, headers were updated, but not the account configurations in the composer. Switch the account config also and add a debug log to send with the uri being used. Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/compose')
-rw-r--r--commands/compose/send.go1
1 files changed, 1 insertions, 0 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()