diff options
-rw-r--r-- | lib/msgstore.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go index 56d9eda..434e0ad 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)), |