From 4473ce8fb61e5c426e632e537d88f3244af266e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 23 Sep 2021 09:58:23 +0200 Subject: [PATCH] fix(participants-pane) bring back lobby reject button It got accidentally removed in: https://github.com/jitsi/jitsi-meet/commit/1dc8bfa63124a868c36bfa12077132204801454b#diff-ef66b8ab7c899b16d6c1102b3c812aa45509f95e11267cbfdbd0674143e94575 --- .../components/web/LobbyParticipantItem.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/react/features/participants-pane/components/web/LobbyParticipantItem.js b/react/features/participants-pane/components/web/LobbyParticipantItem.js index 45e6bbe8a..4adf9cad4 100644 --- a/react/features/participants-pane/components/web/LobbyParticipantItem.js +++ b/react/features/participants-pane/components/web/LobbyParticipantItem.js @@ -33,7 +33,7 @@ export const LobbyParticipantItem = ({ openDrawerForParticipant }: Props) => { const { id } = p; - const [ admit ] = useLobbyActions({ participantID: id }); + const [ admit, reject ] = useLobbyActions({ participantID: id }); const { t } = useTranslation(); return ( @@ -48,6 +48,11 @@ export const LobbyParticipantItem = ({ raisedHand = { p.raisedHand } videoMediaState = { MEDIA_STATE.NONE } youText = { t('chat.you') }> + + {t('lobby.reject')} +