diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-20 23:23:38 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-20 23:23:38 -0400 |
commit | 312a53e5ff721e0a29e34aaeceb0eece1203002d (patch) | |
tree | fb0c5f30d89f904d5fad4a900c910a1dd1d891be /widgets/account.go | |
parent | f3d3e0ed4f5dbf36b7a7c9762e6297083843f127 (diff) | |
download | aerc-312a53e5ff721e0a29e34aaeceb0eece1203002d.tar.gz |
Implement :delete-message
Diffstat (limited to 'widgets/account.go')
-rw-r--r-- | widgets/account.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/account.go b/widgets/account.go index 8a3b989..f42ff6c 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -176,6 +176,9 @@ func (acct *AccountView) onMessage(msg types.WorkerMessage) { case *types.MessageInfo: store := acct.msgStores[acct.dirlist.selected] store.Update(msg) + case *types.MessagesDeleted: + store := acct.msgStores[acct.dirlist.selected] + store.Update(msg) case *types.Error: acct.logger.Printf("%v", msg.Error) acct.host.SetStatus(fmt.Sprintf("%v", msg.Error)). |