about summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
authorSrivathsan Murali <sri@vathsan.com>2019-11-12 12:50:00 +0100
committerDrew DeVault <sir@cmpwn.com>2019-11-17 13:19:20 -0500
commitc655afa32bea3208885386cc3e600d19c934dd39 (patch)
tree15ab3b45ba905339558ae3d5a64eeca6abb13659 /widgets
parent4bdef7d8609aa2d382fa74018e28ccb176276615 (diff)
downloadaerc-c655afa32bea3208885386cc3e600d19c934dd39.tar.gz
Complete the F rune.
%F now shows the auth name or recepient name/address if the
message is from you.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/msglist.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go
index 5c2d2f4..aed3ed5 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -107,6 +107,7 @@ func (ml *MessageList) Draw(ctx *ui.Context) {
 
 		ctx.Fill(0, row, ctx.Width(), 1, ' ', style)
 		fmtStr, args, err := format.ParseMessageFormat(
+			ml.aerc.SelectedAccount().acct.From,
 			ml.conf.Ui.IndexFormat,
 			ml.conf.Ui.TimestampFormat, "", i, msg)
 		if err != nil {