[voice] Fix start dialog with non default voice (broken recently) (#3190)

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
pull/3194/head
GiviMAD 2022-12-03 15:13:03 +01:00 committed by GitHub
parent 028724a73f
commit e48902132a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -538,6 +538,9 @@ public class VoiceManagerImpl implements VoiceManager, ConfigOptionProvider, Dia
if (tts != null) {
context = context.withTTS(tts);
}
if (voice != null) {
context = context.withVoice(voice);
}
if (!hlis.isEmpty()) {
context = context.withHLIs(hlis);
}