aboutsummaryrefslogtreecommitdiffstats
path: root/worker/imap/observer.go
Commit message (Collapse)AuthorAgeFilesLines
* imap: monitor the logout channel with an observerKoni Marti2022-05-041-0/+152
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>