diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-04-30 01:08:56 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-05-04 14:07:15 +0200 |
commit | e5b339702a56fa02dedec770a79b64313fb30108 (patch) | |
tree | e9c345f5043c5cf748bc6e25c6be6c1bb173d33f /worker/imap/list.go | |
parent | 397a6f267f41c501f28d3adb9d641a9283af474f (diff) | |
download | aerc-e5b339702a56fa02dedec770a79b64313fb30108.tar.gz |
imap: monitor the logout channel with an observer
Untangle the observer functionality from the message handling routine.
Observe the imap client's logout channel and trigger a connection error
when necessary to start the reconnect cycle.
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/imap/list.go')
0 files changed, 0 insertions, 0 deletions