diff options
Diffstat (limited to 'bot.go')
| -rw-r--r-- | bot.go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -664,11 +664,15 @@ out: if scrollToEndEnabled { tv.ScrollToEnd() } - // Send chunk to audio stream handler if cfg.TTS_ENABLED { + // Send chunk to audio stream handler TTSTextChan <- chunk } } + if cfg.TTS_ENABLED { + // msg is done; flush it down + TTSFlushChan <- true + } break out } } |
