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
fix(permissions): Make sure permissions are handled on mobile.
damencho38504d51cd0e
diff --git a/conference.js b/conference.jsindex 18560a9120..413c594725 100644--- a/conference.js+++ b/conference.js@@ -1720,15 +1720,7 @@ export default {});- room.on(JitsiConferenceEvents.PERMISSIONS_RECEIVED, p => {- const localParticipant = getLocalParticipant(APP.store.getState());- APP.store.dispatch(participantUpdated({- id: localParticipant.id,- local: true,- features: p- }));- });},/**diff --git a/react/features/base/participants/middleware.ts b/react/features/base/participants/middleware.tsindex 697bc74bad..d5575503fc 100644--- a/react/features/base/participants/middleware.ts+++ b/react/features/base/participants/middleware.ts@@ -545,6 +545,15 @@ StateListenerRegistry.register(propertyHandlers[propertyName](participant, newValue);}});+ conference.on(JitsiConferenceEvents.PERMISSIONS_RECEIVED, (p: Object) => {+ const localParticipant = getLocalParticipant(store.getState());++ localParticipant && store.dispatch(participantUpdated({+ id: localParticipant.id,+ local: true,+ features: p+ }));+ });} else {const localParticipantId = getLocalParticipant(store.getState)?.id;