diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-01-10 10:59:27 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-01-10 10:59:27 +0300 |
| commit | c498ed6424eb099135c51d06b9bb5b3e7b004bff (patch) | |
| tree | 29d660b0b813badf44502f7ba93c04e0b412a558 /bot.go | |
| parent | 8474b87c43650b53aa562a62aaac12d760aa5fc7 (diff) | |
Fix: flushchan signal
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 } } |
