mute now stops current message
This commit is contained in:
parent
97932c4a93
commit
dab1b26429
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue