aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/compose.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/compose.go')
-rw-r--r--widgets/compose.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/widgets/compose.go b/widgets/compose.go
index 6fbc23a6..5dab4294 100644
--- a/widgets/compose.go
+++ b/widgets/compose.go
@@ -118,6 +118,13 @@ func NewComposer(aerc *Aerc, acct *AccountView, conf *config.AercConfig,
c.updateCrypto()
c.ShowTerminal()
+ if c.acctConfig.PgpAutoSign {
+ c.SetSign(true)
+ }
+ if c.acctConfig.PgpOpportunisticEncrypt {
+ c.SetEncrypt(true)
+ }
+
return c, nil
}