Skip to content

Commit 713582e

Browse files
authored
Fix condition compile for hard mute. (#5543)
* Fix condition compile for hard mute. * Change files
1 parent 3460998 commit 713582e

4 files changed

+23
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "patch",
3+
"area": "fix",
4+
"workstream": "Hard mute",
5+
"comment": "Fix condition compile for hard mute.",
6+
"packageName": "@azure/communication-react",
7+
"email": "[email protected]",
8+
"dependentChangeType": "patch"
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "patch",
3+
"area": "fix",
4+
"workstream": "Hard mute",
5+
"comment": "Fix condition compile for hard mute.",
6+
"packageName": "@azure/communication-react",
7+
"email": "[email protected]",
8+
"dependentChangeType": "patch"
9+
}

packages/react-components/src/components/ParticipantItem.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ export interface ParticipantItemStrings {
8080
attendeeRole: string;
8181
/* @conditional-compile-remove(media-access) */
8282
/** Label for the disabled microphone icon in participant state stack */
83-
/* @conditional-compile-remove(media-access) */
8483
micDisabledIconLabel: string;
84+
/* @conditional-compile-remove(media-access) */
8585
/** Label for the disabled camera icon in participant state stack */
8686
cameraDisabledIconLabel: string;
8787
}

packages/react-components/src/components/VideoGallery.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -315,22 +315,22 @@ export interface VideoGalleryProps {
315315
onMuteParticipant?: (userId: string) => Promise<void>;
316316
/* @conditional-compile-remove(media-access) */
317317
/**
318-
* This callback is to forbid audio for a remote participant(s)
318+
* This callback is to forbid audio for remote participant(s)
319319
*/
320320
onForbidAudio?: (userIds: string[]) => Promise<void>;
321321
/* @conditional-compile-remove(media-access) */
322322
/**
323-
* This callback is to permit audio for a remote participant(s)
323+
* This callback is to permit audio for remote participant(s)
324324
*/
325325
onPermitAudio?: (userIds: string[]) => Promise<void>;
326326
/* @conditional-compile-remove(media-access) */
327327
/**
328-
* This callback is to forbid video for a remote participant(s)
328+
* This callback is to forbid video for remote participant(s)
329329
*/
330330
onForbidVideo?: (userIds: string[]) => Promise<void>;
331331
/* @conditional-compile-remove(media-access) */
332332
/**
333-
* This callback is to permit video for a remote participant(s)
333+
* This callback is to permit video for remote participant(s)
334334
*/
335335
onPermitVideo?: (userIds: string[]) => Promise<void>;
336336
}

0 commit comments

Comments
 (0)