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 60f47eab37
commit 90840708f1
+3
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':