diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-08-08 22:21:42 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-08-22 09:30:37 +0200 |
commit | 22e6c9e4fac70c9542d10464f88553c1f20ce577 (patch) | |
tree | 8941122cf1c4ab4f16963ccf86c3b982db11ec89 /commands/msg | |
parent | cfc19a7ec22a1c60f79427ddbabdf437705efbab (diff) | |
download | aerc-22e6c9e4fac70c9542d10464f88553c1f20ce577.tar.gz |
store: remove unneeded header callback
The message store keeps a map of callbacks for headers that are being
fetched. This is not used anywhere in the code base. Instead of a
func(*types.MessageInfo) callback use a general
func(types.WorkerMessage) in the worker.PostAction function to make it
more useful. This callback allows now to get a feedback when all headers
are fetched successfully. Note that the pending header map remains so
that the same header is not fetched multiple times.
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/msg')
0 files changed, 0 insertions, 0 deletions