From 77ede6eb5a22a5407541ac587736189fcca0037f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 29 Mar 2019 22:35:53 -0400 Subject: Add body fetching support code --- widgets/account.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'widgets/account.go') diff --git a/widgets/account.go b/widgets/account.go index f42ff6c4..dd779b34 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -173,6 +173,9 @@ func (acct *AccountView) onMessage(msg types.WorkerMessage) { case *types.DirectoryContents: store := acct.msgStores[acct.dirlist.selected] store.Update(msg) + case *types.MessageBody: + store := acct.msgStores[acct.dirlist.selected] + store.Update(msg) case *types.MessageInfo: store := acct.msgStores[acct.dirlist.selected] store.Update(msg) -- cgit