Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix online app state not being set during goodbye state

Gabe Kangasdef6d5098db8
diff --git a/web/components/stores/ClientConfigStore.tsx b/web/components/stores/ClientConfigStore.tsx
index b8ee692eaf..9fe7db1984 100644
--- a/web/components/stores/ClientConfigStore.tsx
+++ b/web/components/stores/ClientConfigStore.tsx
@@ -185,7 +185,7 @@ export const ClientConfigStore: FC = () => {
return;
}
- if (status.online && appState.matches('ready.offline')) {
+ if (status.online && appState.matches('ready')) {
sendEvent(AppStateEvent.Online);
} else if (!status.online && !appState.matches('ready.offline')) {
sendEvent(AppStateEvent.Offline);