🐛(frontend) fix LiveKit mic indicator for admin-muted participants

Correct microphone muted indicator logic that only showed muted state
when participants explicitly muted themselves, missing cases where
admins prevented microphone publishing.

Now properly displays muted indicator for both self-muted and
admin-restricted microphone states, providing accurate visual feedback
for all muting scenarios.
This commit is contained in:
lebaudantoine
2025-08-28 14:42:51 +02:00
committed by aleb_the_flash
parent aeb5c3790c
commit 00b58288cf

View File

@@ -14,7 +14,7 @@ export const MutedMicIndicator = ({
source: Source.Microphone,
})
if (!isMuted) {
if (!isMuted && participant.isMicrophoneEnabled) {
return null
}