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(transcribing) fix overriding transcribing state
Saúl Ibarra Corretgéd2ed9ffef6bc
diff --git a/react/features/transcribing/reducer.ts b/react/features/transcribing/reducer.tsindex 28918cfd38..cfd0a83704 100644--- a/react/features/transcribing/reducer.ts+++ b/react/features/transcribing/reducer.ts@@ -46,13 +46,17 @@ ReducerRegistry.register<ITranscribingState>('features/transcribing',(state = _getInitialState(), action): ITranscribingState => {switch (action.type) {case CONFERENCE_PROPERTIES_CHANGED: {- const audioRecordingEnabled = action.properties?.['audio-recording-enabled'] === 'true';+ const audioRecording = action.properties?.['audio-recording-enabled'];- if (state.isTranscribing !== audioRecordingEnabled) {- return {- ...state,- isTranscribing: audioRecordingEnabled- };+ if (typeof audioRecording !== 'undefined') {+ const audioRecordingEnabled = audioRecording === 'true';++ if (state.isTranscribing !== audioRecordingEnabled) {+ return {+ ...state,+ isTranscribing: audioRecordingEnabled+ };+ }}return state;