aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/account.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-13 16:04:01 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-13 16:04:01 -0400
commit17bd2dc4dbb3b43b1917c942100834c1341f2194 (patch)
tree59b3c0cc12eb387975451fc6dd5d24d60cc9154a /widgets/account.go
parentbda74452a81963d20c099a1252caadde7049de10 (diff)
downloadaerc-17bd2dc4dbb3b43b1917c942100834c1341f2194.tar.gz
Populate "From" header from config for new emails
Diffstat (limited to 'widgets/account.go')
-rw-r--r--widgets/account.go4
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
}