Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support muting bots in new TTS engine #1253

Merged
merged 1 commit into from
Jun 15, 2024
Merged

Conversation

kevmo314
Copy link
Contributor

@kevmo314 kevmo314 commented Jun 14, 2024

Related to #1252

Implements bot message muting in the TTS engine within lib/tts_isolate.dart as per the issue requirements.

  • Adds a check to determine if a message originates from a bot using the isBotMuted flag and the author's bot status before vocalization.
  • Skips the vocalization process for messages identified as originating from bots, effectively muting them.

For more details, open the Copilot Workspace session.

@SputNikPlop
Copy link
Collaborator

Ok this looks good, just wanna go out and test it yet I can't get past text to speech disabled when trying to enable tts

Copy link
Collaborator

@SputNikPlop SputNikPlop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works

@kevmo314 kevmo314 merged commit 02ca15c into main Jun 15, 2024
5 checks passed
@kevmo314 kevmo314 deleted the kevmo314/support-mute-bots branch June 15, 2024 03:52
Wolfof420Street pushed a commit to Wolfof420Street/rtchat that referenced this pull request Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants