diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-07-31 09:41:22 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-08-01 10:37:44 +0200 |
commit | 0c85b5a6cfdae0cbe1d82cc958231e70888bf09f (patch) | |
tree | a3a1ede973131f6a02ea94837af04f28ab27e9bb /commands/msg/delete.go | |
parent | 894668aec26502f0f17b4afff7aa7fc476710a2f (diff) | |
download | aerc-0c85b5a6cfdae0cbe1d82cc958231e70888bf09f.tar.gz |
msglist: remove invalidate from commands which remove messages
Archive, delete, and move all remove messages from the message store.
The commands themselves invalidated the message list. The message list
was also invalidated for every MessagesDeleted message received. Remove
the call in the command logic to reduce redraws of the message list
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/msg/delete.go')
-rw-r--r-- | commands/msg/delete.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/commands/msg/delete.go b/commands/msg/delete.go index d90132aa..7cf81138 100644 --- a/commands/msg/delete.go +++ b/commands/msg/delete.go @@ -78,7 +78,6 @@ func (Delete) Execute(aerc *widgets.Aerc, args []string) error { acct.Messages().Select(0) } } - acct.Messages().Invalidate() case *types.Error: store.Remark() aerc.PushError(msg.Error.Error()) |