Skip to content

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

feat(lobby): deleted knocking participant api event (#12940)

Calinteodorb4bf36323700
diff --git a/react/features/lobby/middleware.ts b/react/features/lobby/middleware.ts
index fd937c8261..0cd03e4648 100644
--- a/react/features/lobby/middleware.ts
+++ b/react/features/lobby/middleware.ts
@@ -134,6 +134,13 @@ StateListenerRegistry.register(
const isParticipantsPaneVisible = getParticipantsPaneOpen(getState());
+ if (typeof APP !== 'undefined') {
+ APP.API.notifyKnockingParticipant({
+ id,
+ name
+ });
+ }
+
if (isParticipantsPaneVisible || navigator.product === 'ReactNative') {
return;
}
@@ -142,13 +149,6 @@ StateListenerRegistry.register(
dispatch,
getState
});
-
- if (typeof APP !== 'undefined') {
- APP.API.notifyKnockingParticipant({
- id,
- name
- });
- }
});
});