mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
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:
parent
865ebfaf72
commit
ad66180c34
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue