[voice] Fix wrong check for defaultSTT (#2714)
Fix #2696 Signed-off-by: Laurent Garnier <lg.hc@free.fr>pull/2718/head
parent
16bc9321f1
commit
a4c39d5ba0
|
@ -559,7 +559,7 @@ public class VoiceManagerImpl implements VoiceManager, ConfigOptionProvider {
|
|||
@Override
|
||||
public @Nullable STTService getSTT() {
|
||||
STTService stt = null;
|
||||
if (defaultTTS != null) {
|
||||
if (defaultSTT != null) {
|
||||
stt = sttServices.get(defaultSTT);
|
||||
if (stt == null) {
|
||||
logger.warn("Default STT service '{}' not available!", defaultSTT);
|
||||
|
|
Loading…
Reference in New Issue