diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-05-13 16:04:01 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-05-13 16:04:01 -0400 |
commit | 17bd2dc4dbb3b43b1917c942100834c1341f2194 (patch) | |
tree | 59b3c0cc12eb387975451fc6dd5d24d60cc9154a /widgets/account.go | |
parent | bda74452a81963d20c099a1252caadde7049de10 (diff) | |
download | aerc-17bd2dc4dbb3b43b1917c942100834c1341f2194.tar.gz |
Populate "From" header from config for new emails
Diffstat (limited to 'widgets/account.go')
-rw-r--r-- | widgets/account.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/account.go b/widgets/account.go index a8cd9ad6..c01b15f7 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -80,6 +80,10 @@ func NewAccountView(conf *config.AercConfig, acct *config.AccountConfig, return view } +func (acct *AccountView) AccountConfig() *config.AccountConfig { + return acct.acct +} + func (acct *AccountView) Name() string { return acct.acct.Name } |