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(rn,external-api) remove dead code

Saúl Ibarra Corretgé40a76940acb9
diff --git a/react/features/mobile/external-api/middleware.js b/react/features/mobile/external-api/middleware.js
index 991954685c..abe58e0cd3 100644
--- a/react/features/mobile/external-api/middleware.js
+++ b/react/features/mobile/external-api/middleware.js
@@ -126,7 +126,6 @@ MiddlewareRegistry.register(store => next => action => {
}
case CONFERENCE_LEFT:
- case CONFERENCE_WILL_JOIN:
_sendConferenceEvent(store, action);
break;
@@ -600,11 +599,6 @@ function _swallowEvent(store, action, data) {
switch (action.type) {
case CONFERENCE_LEFT:
return _swallowConferenceLeft(store, action, data);
- case CONFERENCE_WILL_JOIN:
- // CONFERENCE_WILL_JOIN is dispatched to the external API on SET_ROOM,
- // before the connection is created, so we need to swallow the original
- // one emitted by base/conference.
- return true;
default:
return false;