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) remove unused state properties

Saúl Ibarra Corretgé3816b9d20ad4
diff --git a/react/features/transcribing/reducer.ts b/react/features/transcribing/reducer.ts
index e619c99464..323f5ba0db 100644
--- a/react/features/transcribing/reducer.ts
+++ b/react/features/transcribing/reducer.ts
@@ -12,7 +12,6 @@ import {
*
* @returns {{
* isTranscribing: boolean,
- * isDialing: boolean,
* transcriberJID: null,
* potentialTranscriberJIDs: Array
* }}
@@ -28,20 +27,6 @@ function _getInitialState() {
*/
isTranscribing: false,
- /**
- * Indicates whether the transcriber has been dialed into the room and
- * we're currently awaiting successful joining or failure of joining.
- *
- * @type {boolean}
- */
- isDialing: false,
-
- /**
- * Indicates whether the transcribing feature is in the process of
- * terminating; the transcriber has been told to leave.
- */
- isTerminating: false,
-
/**
* The JID of the active transcriber.
*
@@ -59,8 +44,6 @@ function _getInitialState() {
}
export interface ITranscribingState {
- isDialing: boolean;
- isTerminating: boolean;
isTranscribing: boolean;
pendingNotificationUid?: string;
potentialTranscriberJIDs: string[];
@@ -77,13 +60,11 @@ ReducerRegistry.register<ITranscribingState>('features/transcribing',
return {
...state,
isTranscribing: true,
- isDialing: false,
transcriberJID: action.transcriberJID
};
case _TRANSCRIBER_LEFT:
return {
...state,
- isTerminating: false,
isTranscribing: false,
transcriberJID: undefined,
potentialTranscriberJIDs: []