diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-01 19:34:08 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-02-01 19:34:08 -0500 |
commit | cc03f6f4c802ee0742520145e9cacbd88f78ed9a (patch) | |
tree | 4baed447fec0eb5a5c82fd38a52ec205e638e8da /ui/account.go | |
parent | 1767e4fab515cefba08345e6eb2c84f46daf4be1 (diff) | |
download | aerc-cc03f6f4c802ee0742520145e9cacbd88f78ed9a.tar.gz |
Implement (most of) mailbox listing
Diffstat (limited to 'ui/account.go')
-rw-r--r-- | ui/account.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/account.go b/ui/account.go index 85c47510..8b1d0c5d 100644 --- a/ui/account.go +++ b/ui/account.go @@ -35,6 +35,7 @@ func NewAccountTab(conf *config.AccountConfig, acc.Worker.PostAction(types.Connect{}, func(msg types.WorkerMessage) { if _, ok := msg.(types.Ack); ok { acc.logger.Println("Connected.") + acc.Worker.PostAction(types.ListDirectories{}, nil) } else { acc.logger.Println("Connection failed.") } @@ -73,6 +74,7 @@ func (acc *AccountTab) HandleMessage(msg types.WorkerMessage) { msg = acc.Worker.ProcessMessage(msg) switch msg.(type) { case types.Ack: + case types.Unsupported: // no-op case types.ApproveCertificate: // TODO: Ask the user |