diff options
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r-- | widgets/msglist.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go index 0937b786..161dcadc 100644 --- a/widgets/msglist.go +++ b/widgets/msglist.go @@ -222,7 +222,7 @@ func addMessage( msg := store.Messages[uid] cells := make([]string, len(table.Columns)) - params := messageRowParams{uid: uid} + params := messageRowParams{uid: uid, uiConfig: uiConfig} if msg == nil || msg.Envelope == nil { params.needsHeaders = true @@ -267,9 +267,6 @@ func addMessage( } } - // TODO deprecate subject contextual UIs? Only related setting is - // styleset, should implement a better per-message styling method - params.uiConfig = uiConfig.ForSubject(msg.Envelope.Subject) params.headers = msg.RFC822Headers return table.AddRow(cells, params) |