opentui(harden): clear the recovering status once the gateway is ready again

This commit is contained in:
alt-glitch 2026-06-09 07:49:46 +00:00
parent 07fcb3282c
commit 28a2f95631

View file

@ -482,6 +482,9 @@ export function createSessionStore() {
switch (event.type) {
case 'gateway.ready':
setState('ready', true)
// Clear any transient status: on a recovery-respawn ready this drops the
// lingering 'gateway recovering (attempt N)…' line; no-op on first connect.
setState('status', undefined)
setSkin(event.payload?.skin)
break
case 'skin.changed':