mute now stops current message

This commit is contained in:
Elijah R 2024-07-12 14:59:04 -04:00
parent 97932c4a93
commit dab1b26429

View file

@ -185,6 +185,8 @@ export class MSAgentClient {
} else { } else {
mute.setName("Unmute"); mute.setName("Unmute");
_user.muted = true; _user.muted = true;
_user.agent.stopSpeaking();
this.playingAudio.get(_user.username)?.pause();
} }
}); });
ctx.addItem(mute); ctx.addItem(mute);