Set the store on the message list if it is nil
This commit is contained in:
parent
e8b7b3bcc1
commit
2a0430ab90
1 changed files with 3 additions and 0 deletions
|
@ -255,6 +255,9 @@ func (acct *AccountView) onMessage(msg types.WorkerMessage) {
|
|||
}
|
||||
case *types.DirectoryContents:
|
||||
if store, ok := acct.dirlist.SelectedMsgStore(); ok {
|
||||
if acct.msglist.Store() == nil {
|
||||
acct.msglist.SetStore(store)
|
||||
}
|
||||
store.Update(msg)
|
||||
}
|
||||
case *types.FullMessage:
|
||||
|
|
Loading…
Reference in a new issue