Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(transcribing) simplified code

Saúl Ibarra Corretgéee98841078cd
diff --git a/react/features/transcribing/reducer.ts b/react/features/transcribing/reducer.ts
index 323f5ba0db..481f842849 100644
--- a/react/features/transcribing/reducer.ts
+++ b/react/features/transcribing/reducer.ts
@@ -72,9 +72,7 @@ ReducerRegistry.register<ITranscribingState>('features/transcribing',
case _POTENTIAL_TRANSCRIBER_JOINED:
return {
...state,
- potentialTranscriberJIDs:
- [ action.transcriberJID ]
- .concat(state.potentialTranscriberJIDs)
+ potentialTranscriberJIDs: [ action.transcriberJID, ...state.potentialTranscriberJIDs ]
};
case SET_PENDING_TRANSCRIBING_NOTIFICATION_UID:
return {