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(participants-pane) bring back lobby reject button

Saúl Ibarra Corretgé4473ce8fb61e
diff --git a/react/features/participants-pane/components/web/LobbyParticipantItem.js b/react/features/participants-pane/components/web/LobbyParticipantItem.js
index 45e6bbe8a3..4adf9cad45 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') }>
+ <ParticipantActionButton
+ onClick = { reject }
+ primary = { false }>
+ {t('lobby.reject')}
+ </ParticipantActionButton>
<ParticipantActionButton
onClick = { admit }
primary = { true }>