diff options
-rw-r--r-- | src/plugins/memberCount.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/memberCount.tsx b/src/plugins/memberCount.tsx index a18cf6e..78c10de 100644 --- a/src/plugins/memberCount.tsx +++ b/src/plugins/memberCount.tsx @@ -47,7 +47,7 @@ function MemberCount() { const online = (groups.length === 1 && groups[0].id === "unknown") ? 0 - : groups.reduce((count, curr) => count + curr.count, 0); + : groups.reduce((count, curr) => count + (curr.id === "offline" ? 0 : curr.count), 0); return ( <Flex id="vc-membercount" style={{ |