aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/msgstore.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go
index 56d9edad..434e0ad6 100644
--- a/lib/msgstore.go
+++ b/lib/msgstore.go
@@ -46,8 +46,9 @@ func NewMessageStore(worker *types.Worker,
triggerDirectoryChange func()) *MessageStore {
return &MessageStore{
- Deleted: make(map[uint32]interface{}),
- DirInfo: *dirInfo,
+ Deleted: make(map[uint32]interface{}),
+ DirInfo: *dirInfo,
+ Messages: make(map[uint32]*models.MessageInfo),
selected: 0,
bodyCallbacks: make(map[uint32][]func(io.Reader)),