diff --git a/packages/web/src/components/layout/ChannelSidebar.tsx b/packages/web/src/components/layout/ChannelSidebar.tsx index 690fc816..6f064bd3 100644 --- a/packages/web/src/components/layout/ChannelSidebar.tsx +++ b/packages/web/src/components/layout/ChannelSidebar.tsx @@ -24,6 +24,7 @@ export function ChannelSidebar() { const user = useAuthStore((s) => s.user); const members = useServerStore((s) => s.members); const currentVoiceChannelId = useVoiceStore((s) => s.currentVoiceChannelId); + const activeDmCall = useVoiceStore((s) => s.activeDmCall); const setCurrentVoiceChannel = useVoiceStore((s) => s.setCurrentVoiceChannel); const isMuted = useVoiceStore((s) => s.isMuted); const isDeafened = useVoiceStore((s) => s.isDeafened); @@ -97,9 +98,9 @@ export function ChannelSidebar() {
{/* Voice controls (expands when connected) */} - {currentVoiceChannelId && } + {(currentVoiceChannelId || activeDmCall) && } {/* Separator between voice and user area */} - {currentVoiceChannelId &&
} + {(currentVoiceChannelId || activeDmCall) &&
} {/* User area (always visible) */} + {voiceChatOpen && !voiceFullscreen && ( + + )}