aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/account.go3
-rw-r--r--widgets/msglist.go2
2 files changed, 4 insertions, 1 deletions
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)
diff --git a/widgets/msglist.go b/widgets/msglist.go
index b72fb035..18a7019d 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -88,7 +88,7 @@ func (ml *MessageList) Draw(ctx *ui.Context) {
}
if len(needsHeaders) != 0 {
- ml.store.FetchHeaders(needsHeaders)
+ ml.store.FetchHeaders(needsHeaders, nil)
ml.spinner.Start()
} else {
ml.spinner.Stop()