We need connected/disconnected events now on iOS 16

I’ve been fiddling with the app on the new iOS beta 16 and I noticed that the website performance is a total shitshow now. It looks like iOS is way more aggressive in closing those websockets (seconds after you background the tab) and it takes a bit longer for the app to realize the connection was severed and reconnect.

This leads to a very annoying experience where you switch away from wolfery, switch back, type something and it literally disappears into the void as the connection isn’t re-established yet. Given there’s no send message history on the phone either that results in a meh UX.

Can we have the disconnected / connected events in the log? Ideally, buffering of the outgoing lines if not connected, too. Or at least, disabling the input in the meantime while it’s reconnecting.