diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2023-04-16 09:53:42 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-04-22 22:40:12 +0200 |
commit | 2438d3b74ff9faf598e67f4b6da9324aa98b8b86 (patch) | |
tree | 6eadb0bbe3b4ae4cfc4a9ae2ae6fb2773cb4da23 /widgets/account.go | |
parent | 2ed7a741ff9eca1dd3fe9e94cdcfe4f365b74ff2 (diff) | |
download | aerc-2438d3b74ff9faf598e67f4b6da9324aa98b8b86.tar.gz |
dirstore: store directory model in dirstore
Use the dirstore to store models.Directory data structures. This will be
used in subsequent commits for accessing directory data.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets/account.go')
-rw-r--r-- | widgets/account.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/account.go b/widgets/account.go index ad9d200a..6449aeba 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -308,7 +308,7 @@ func (acct *AccountView) onMessage(msg types.WorkerMessage) { acct.updateSplitView, ) store.SetMarker(marker.New(store)) - acct.dirlist.SetMsgStore(msg.Dir.Name, store) + acct.dirlist.SetMsgStore(msg.Dir, store) case *types.DirectoryInfo: if store, ok := acct.dirlist.MsgStore(msg.Info.Name); ok { store.Update(msg) |