Skip to content

Commit

Permalink
fix(recordings) disable default auto transcribe (#14495)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihhu committed Mar 18, 2024
1 parent 9b3931b commit 71b4943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react/features/recording/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { registerSound, unregisterSound } from '../base/sounds/actions';
import { isInBreakoutRoom } from '../breakout-rooms/functions';
import { isEnabled as isDropboxEnabled } from '../dropbox/functions';
import { extractFqnFromPath } from '../dynamic-branding/functions.any';
import { isRecorderTranscriptionsRunning } from '../transcribing/functions';
import { canAddTranscriber, isRecorderTranscriptionsRunning } from '../transcribing/functions';

import LocalRecordingManager from './components/Recording/LocalRecordingManager';
import {
Expand Down Expand Up @@ -208,7 +208,7 @@ export function canStopRecording(state: IReduxState) {
export function shouldAutoTranscribeOnRecord(state: IReduxState) {
const { transcription } = state['features/base/config'];

return transcription?.autoTranscribeOnRecord ?? true;
return (transcription?.autoTranscribeOnRecord ?? true) && canAddTranscriber(state);
}

/**
Expand Down

0 comments on commit 71b4943

Please sign in to comment.