diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2024-08-16 09:14:45 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-08-20 12:26:46 +0200 |
commit | b896120f00d0b811a4b7e41709d8331a29c82cb0 (patch) | |
tree | 4bb143188430ade9f0777783e9295fc584f84892 /lib | |
parent | 93207b733046f7fde645b68f4bafd1cab51b3dff (diff) | |
download | aerc-b896120f00d0b811a4b7e41709d8331a29c82cb0.tar.gz |
jmap: lazily fetch identities
Fetch Identities only when required: when we are sending an email.
Refactor connect.go to check the state string of the Session on every
request, and update the session as needed. Move the Session validity
check to happen on any request, eg when our client returns an error we
first update the Session object (via re-authenticating) and then retry
the request.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions