diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-15 21:33:08 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-15 21:33:08 -0400 |
commit | 77c76ba46296f57f88c591a420e929a059a55d3e (patch) | |
tree | 98b74a88d1260c57674908be14956117939176f6 /widgets | |
parent | b181e0449d552a03db49da8e3edace9b3d7cfaa6 (diff) |
Implement default in accounts.conf
Diffstat (limited to 'widgets')
-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 ecccd1b..8716b11 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -173,7 +173,7 @@ func (acct *AccountView) connected(msg types.WorkerMessage) { acct.dirlist.UpdateList(func(dirs []string) { var dir string for _, _dir := range dirs { - if _dir == "INBOX" { + if _dir == acct.acct.Default { dir = _dir break } |