Skip to content

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

Only show online client count if we are online. closes https://github.com/owncast/owncast/issues/1306

Gabe Kangas1e436bdb67f1
diff --git a/web/pages/chat/users.tsx b/web/pages/chat/users.tsx
index b8698e9ee6..66de805dbc 100644
--- a/web/pages/chat/users.tsx
+++ b/web/pages/chat/users.tsx
@@ -64,9 +64,10 @@ export default function ChatUsers() {
When a stream is active and chat is enabled, connected chat clients will be displayed here.
</p>
);
+
return (
<>
- <Title>Connected Chat Participants ({clients.length})</Title>
+ <Title>Connected Chat Participants {online ? `(${clients.length})` : null}</Title>
{connectedUsers}
<br />
<br />