Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
[RN] Don't process invite events if the external API scope doesn't match
Saúl Ibarra Corretgé552fadc4a4d7
diff --git a/react/features/invite/middleware.native.js b/react/features/invite/middleware.native.jsindex 15941b2155..c78740740e 100644--- a/react/features/invite/middleware.native.js+++ b/react/features/invite/middleware.native.js@@ -139,6 +139,14 @@ function _onInvite({ addPeopleControllerScope, externalAPIScope, invitees }) {const { getState } = this; // eslint-disable-line no-invalid-thisconst state = getState();++ // If there are multiple JitsiMeetView instances alive, they will all get+ // the event, since there is a single bridge, so make sure we don't act if+ // the event is not for us.+ if (state['features/app'].app.props.externalAPIScope !== externalAPIScope) {+ return;+ }+const { conference } = state['features/base/conference'];const { inviteServiceUrl } = state['features/base/config'];const options = {@@ -167,8 +175,15 @@ function _onInvite(function _onPerformQuery({ addPeopleControllerScope, externalAPIScope, query }) {const { getState } = this; // eslint-disable-line no-invalid-this-const state = getState();++ // If there are multiple JitsiMeetView instances alive, they will all get+ // the event, since there is a single bridge, so make sure we don't act if+ // the event is not for us.+ if (state['features/app'].app.props.externalAPIScope !== externalAPIScope) {+ return;+ }+const {dialOutAuthUrl,peopleSearchQueryTypes,