diff options
author | Robin Jarry <robin@jarry.cc> | 2023-07-17 14:09:16 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-08-04 23:16:29 +0200 |
commit | 24eab0f5ef6324b00717997f671cf1d13317bd5c (patch) | |
tree | e5a5a373599a8b6ff8720d527778452aa258be12 /doc | |
parent | f27b2d6150968bc03bfd8ba51b6048def6f4f57f (diff) | |
download | aerc-24eab0f5ef6324b00717997f671cf1d13317bd5c.tar.gz |
msglist: fetch headers even when not focused
Do not rely on MessageList.Draw only to fetch missing headers. In Draw,
report the current scroll offset and length to the message store and use
them to determine if a new message UID should be candidate for fetching
headers.
This allows the mail-received hook to work even when the message list is
not focused.
Fixes: https://todo.sr.ht/~rjarry/aerc/147
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Tristan Partin <tristan@partin.io>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions