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(subtitles) fix skipping transcription messages
Saúl Ibarra Corretgé1827610fc1ab
diff --git a/react/features/subtitles/middleware.ts b/react/features/subtitles/middleware.tsindex 760aa82dd4..e717d12e4f 100644--- a/react/features/subtitles/middleware.ts+++ b/react/features/subtitles/middleware.ts@@ -196,7 +196,7 @@ function _endpointMessageReceived(store: IStore, next: Function, action: AnyActi// Regex to filter out all possible country codes after language code:// this should catch all notations like 'en-GB' 'en_GB' and 'enGB'// and be independent of the country code length- if (_getPrimaryLanguageCode(json.language) !== _getPrimaryLanguageCode(language)) {+ if (!language || (_getPrimaryLanguageCode(json.language) !== _getPrimaryLanguageCode(language))) {return next(action);}