Update lib/private/SpeechToText/SpeechToTextManager.php

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2023-04-13 15:17:17 +02:00 committed by GitHub
parent 865ebfaf72
commit ad66180c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ class SpeechToTextManager implements ISpeechToTextManager {
if ($context === null) {
return false;
}
return !empty($context->getTranslationProviders());
return !empty($context->getSpeechToTextProviders());
}
public function scheduleFileTranscription(File $file): void {