aboutsummaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2024-08-16 09:14:46 -0500
committerRobin Jarry <robin@jarry.cc>2024-08-20 12:26:46 +0200
commit401bcee258713b911cd67aa6dc832e4eff25deb4 (patch)
tree8d374bd33d443200e43dafa7e19d403727b478b8 /.mailmap
parentb896120f00d0b811a4b7e41709d8331a29c82cb0 (diff)
downloadaerc-401bcee258713b911cd67aa6dc832e4eff25deb4.tar.gz
jmap: refactor thread fetching
Refactor JMAP thread fetching to occur in a single request. We use a result reference method call on Email/get to fetch the message info for each message in a thread. Previously, we checked the cache and only fetched information for messages we didn't already have. This results in two requests and is typically slower for most contexts. Also, in most cases if we are fetching an email we don't already have it's because we also need to fetch the entire thread. The only case this wouldn't happen is if we get a new email in a thread. We can optimize this by fetching message info for created messages in the push method at a later time. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions