From 18fa56ff1b62d9a7640182d29207597a650c1c62 Mon Sep 17 00:00:00 2001 From: "Tudor D. Pop" Date: Thu, 24 Mar 2022 13:15:30 +0200 Subject: [PATCH] fix(lobby) display the entire message in the reject notification --- lang/main.json | 1 + react/features/lobby/middleware.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/main.json b/lang/main.json index 1b03f17d9..08d1eb336 100644 --- a/lang/main.json +++ b/lang/main.json @@ -556,6 +556,7 @@ "errorMissingPassword": "Please enter the meeting password", "invalidPassword": "Invalid password", "joinRejectedMessage": "Your join request was rejected by a moderator.", + "joinRejectedTitle": "Join request rejected.", "joinTitle": "Join Meeting", "joinWithPasswordMessage": "Trying to join with password, please wait...", "joiningMessage": "You'll join the meeting as soon as someone accepts your request", diff --git a/react/features/lobby/middleware.js b/react/features/lobby/middleware.js index 9db06ad7a..c864bc3b5 100644 --- a/react/features/lobby/middleware.js +++ b/react/features/lobby/middleware.js @@ -307,7 +307,8 @@ function _conferenceFailed({ dispatch, getState }, next, action) { showNotification({ appearance: NOTIFICATION_TYPE.ERROR, hideErrorSupportLink: true, - titleKey: 'lobby.joinRejectedMessage' + titleKey: 'lobby.joinRejectedTitle', + descriptionKey: 'lobby.joinRejectedMessage' }, NOTIFICATION_TIMEOUT_TYPE.LONG) ); }