diff --git a/src/components/view/Sidebar.tsx b/src/components/view/Sidebar.tsx
index 0243101..5aed5af 100644
--- a/src/components/view/Sidebar.tsx
+++ b/src/components/view/Sidebar.tsx
@@ -60,11 +60,12 @@ export function RenderFeatures({
switch (channel.kind) {
case "voice":
const users = appRef.current?.server?.voiceChatUsers[channel.id];
+ const isCurrentVc = channel.id === appRef.current?.server?.voiceChannelId;
return (
users && (
- {users.slice(0, 5).map((pubkey) => {
+ {(isCurrentVc ? users : users.slice(0, 15)).map((pubkey) => {
const user = appRef.current?.server?.users[pubkey];
if (!user) return null;
@@ -94,9 +95,9 @@ export function RenderFeatures({
);
})}
- {users.length > 5 && (
+ {!isCurrentVc && users.length > 15 && (
- and {users.length - 5} others
+ and {users.length - 15} others
)}
@@ -157,7 +158,7 @@ export default function Sidebar({
{appRef.current.server.meta.name}
-