🐛(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:
committed by
aleb_the_flash
parent
aeb5c3790c
commit
00b58288cf
@@ -14,7 +14,7 @@ export const MutedMicIndicator = ({
|
||||
source: Source.Microphone,
|
||||
})
|
||||
|
||||
if (!isMuted) {
|
||||
if (!isMuted && participant.isMicrophoneEnabled) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user