aboutsummaryrefslogtreecommitdiffstats
path: root/config/triggers.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/triggers.go')
-rw-r--r--config/triggers.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/triggers.go b/config/triggers.go
index d31f267b..f68cb585 100644
--- a/config/triggers.go
+++ b/config/triggers.go
@@ -36,7 +36,9 @@ func (trig *TriggersConfig) ExecNewEmail(account *AccountConfig,
conf *AercConfig, msg *models.MessageInfo) {
err := trig.ExecTrigger(trig.NewEmail,
func(part string) (string, error) {
- formatstr, args, err := format.ParseMessageFormat(part,
+ formatstr, args, err := format.ParseMessageFormat(
+ account.From,
+ part,
conf.Ui.TimestampFormat, account.Name, 0, msg)
if err != nil {
return "", err