Open 0x84f opened 10 months ago
unfortunately, it's hard for me to come up with a solution that'd reliably tell whether we're back from sleep/hybernation and restart the IRC thread immediately.
instead, what I can do is add a watchdog that'll kill the thread and restart it whenever it doesn't see any new messages in a while (the exact timeout may be set to, say, 30s by default, and made configurable by the user, so that people on unstable connections don't suffer too much)
Takes about 2 minutes for steel to acknowledge via GUI that it's disconnected and try to reconnect again, not sure if you care? I thought I had to restart but I started getting screenshots and noticed I was back online after 2 mins.
A minor inconvenience really.