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(e2ee) avoid running middleware when there is no conference
Saúl Ibarra Corretgé9533650594f3
diff --git a/react/features/e2ee/middleware.ts b/react/features/e2ee/middleware.tsindex 500e442c61..0545e426e0 100644--- a/react/features/e2ee/middleware.ts+++ b/react/features/e2ee/middleware.ts@@ -271,28 +271,30 @@ StateListenerRegistry.register(dispatch(toggleE2EE(false));}- conference.on(JitsiConferenceEvents.E2EE_VERIFICATION_AVAILABLE, (pId: string) => {- dispatch(participantUpdated({- e2eeVerificationAvailable: true,- id: pId- }));- });-- conference.on(JitsiConferenceEvents.E2EE_VERIFICATION_READY, (pId: string, sas: object) => {- dispatch(openDialog(ParticipantVerificationDialog, { pId,- sas }));- });-- conference.on(JitsiConferenceEvents.E2EE_VERIFICATION_COMPLETED,- (pId: string, success: boolean, message: string) => {- if (message) {- logger.warn('E2EE_VERIFICATION_COMPLETED warning', message);- }+ if (conference) {+ conference.on(JitsiConferenceEvents.E2EE_VERIFICATION_AVAILABLE, (pId: string) => {dispatch(participantUpdated({- e2eeVerified: success,+ e2eeVerificationAvailable: true,id: pId}));});++ conference.on(JitsiConferenceEvents.E2EE_VERIFICATION_READY, (pId: string, sas: object) => {+ dispatch(openDialog(ParticipantVerificationDialog, { pId,+ sas }));+ });++ conference.on(JitsiConferenceEvents.E2EE_VERIFICATION_COMPLETED,+ (pId: string, success: boolean, message: string) => {+ if (message) {+ logger.warn('E2EE_VERIFICATION_COMPLETED warning', message);+ }+ dispatch(participantUpdated({+ e2eeVerified: success,+ id: pId+ }));+ });+ }});/**