summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-04-13 15:17:17 +0200
committerGitHub <noreply@github.com>2023-04-13 15:17:17 +0200
commitad66180c3404045e4ae15e9b3a895b50a69efd75 (patch)
tree3b8a4cffed6ea24d40a5c96c272f7a139474be9d /lib
parent865ebfaf72fa186a18d822e0332a5c5201b9b992 (diff)
downloadnextcloud-server-ad66180c3404045e4ae15e9b3a895b50a69efd75.tar.gz
nextcloud-server-ad66180c3404045e4ae15e9b3a895b50a69efd75.zip
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/SpeechToText/SpeechToTextManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/SpeechToText/SpeechToTextManager.php b/lib/private/SpeechToText/SpeechToTextManager.php
index c4f89ed43c7..0c41c3cb600 100644
--- a/lib/private/SpeechToText/SpeechToTextManager.php
+++ b/lib/private/SpeechToText/SpeechToTextManager.php
@@ -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 {