about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/triggers.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/triggers.go b/config/triggers.go
index d31f267..f68cb58 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
e>
e4409c40 ^
e087f6d4




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58