summary refs log tree commit diff stats
path: root/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-31 14:24:53 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-31 14:24:53 -0400
commitbbdf9df75e8597e38cf1d90145f22aab9bd95178 (patch)
treee721502779327758956694edffbd6e01762801e9 /commands
parent711d22891bd50646d1cf925fbf0b8a760c638fd0 (diff)
downloadaerc-bbdf9df75e8597e38cf1d90145f22aab9bd95178.tar.gz
Add basic filter implementation
Diffstat (limited to 'commands')
-rw-r--r--commands/account/view-message.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/view-message.go b/commands/account/view-message.go
index bef2740..edafd09 100644
--- a/commands/account/view-message.go
+++ b/commands/account/view-message.go
@@ -19,7 +19,7 @@ func ViewMessage(aerc *widgets.Aerc, args []string) error {
 	acct := aerc.SelectedAccount()
 	store := acct.Messages().Store()
 	msg := acct.Messages().Selected()
-	viewer := widgets.NewMessageViewer(store, msg)
+	viewer := widgets.NewMessageViewer(aerc.Config(), store, msg)
 	aerc.NewTab(viewer, runewidth.Truncate(
 		msg.Envelope.Subject, 32, "…"))
 	return nil