aboutsummaryrefslogtreecommitdiffstats
path: root/commands/history.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2021-12-06 23:53:39 +0100
committerRobin Jarry <robin@jarry.cc>2022-01-14 21:17:40 +0100
commitc605ada3ddc7569ebfc153b07db12a21b30d0569 (patch)
tree7c7ef223842521d131cbf08e699cdba76eb9da3f /commands/history.go
parent6f8c167e2782cb4447f36f0a9415a0fd1482b027 (diff)
downloadaerc-c605ada3ddc7569ebfc153b07db12a21b30d0569.tar.gz
imap: attempt automatic reconnection on error
Attempt to reconnect to the server when there is an unexpected disconnection or network error. Use the Client.LoggedOut() channel which is closed when the connection is closed. This patch is rather flaky and is certainly bugged. However, it is a start. Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/history.go')
0 files changed, 0 insertions, 0 deletions