From dab1b26429bd2a155f5faaa8a8798286cbc8f966 Mon Sep 17 00:00:00 2001 From: Elijah R Date: Fri, 12 Jul 2024 14:59:04 -0400 Subject: [PATCH] mute now stops current message --- webapp/src/ts/client.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/src/ts/client.ts b/webapp/src/ts/client.ts index c796033..90b4fa7 100644 --- a/webapp/src/ts/client.ts +++ b/webapp/src/ts/client.ts @@ -185,6 +185,8 @@ export class MSAgentClient { } else { mute.setName("Unmute"); _user.muted = true; + _user.agent.stopSpeaking(); + this.playingAudio.get(_user.username)?.pause(); } }); ctx.addItem(mute);