Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(visitors): Fixes wrong text in notification on multiple promote requests.

damencho6ab945c2cbe1
diff --git a/lang/main.json b/lang/main.json
index 306f902ae2..ad5e98fdd2 100644
--- a/lang/main.json
+++ b/lang/main.json
@@ -813,6 +813,7 @@
"videoUnmuteBlockedDescription": "Camera unmute and desktop sharing operation have been temporarily blocked because of system limits.",
"videoUnmuteBlockedTitle": "Camera unmute and desktop sharing blocked!",
"viewLobby": "View lobby",
+ "viewVisitors": "View visitors",
"waitingParticipants": "{{waitingParticipants}} people",
"whiteboardLimitDescription": "Please save your progress, as the user limit will soon be reached and the whiteboard will close.",
"whiteboardLimitTitle": "Whiteboard usage"
diff --git a/react/features/visitors/middleware.ts b/react/features/visitors/middleware.ts
index e9dc56b6c6..0811e012bf 100644
--- a/react/features/visitors/middleware.ts
+++ b/react/features/visitors/middleware.ts
@@ -137,7 +137,7 @@ function _handlePromotionNotification(
waitingParticipants: requests.length
});
icon = NOTIFICATION_ICON.PARTICIPANTS;
- customActionNameKey = [ 'notify.viewLobby' ];
+ customActionNameKey = [ 'notify.viewVisitors' ];
customActionType = [ BUTTON_TYPES.PRIMARY ];
customActionHandler = [ () => batch(() => {
dispatch(hideNotification(VISITORS_PROMOTION_NOTIFICATION_ID));