Add confirmation modal on unmute
This commit is contained in:
parent
029f25029d
commit
7edf6b0ea2
|
@ -578,6 +578,17 @@ const app = Vue.createApp({
|
|||
}
|
||||
this.muted[username] = true;
|
||||
} else {
|
||||
if (!window.confirm(
|
||||
`Do you want to remove your mute on ${username}? If you un-mute them, you `+
|
||||
`will be able to see their chat messages or DMs going forward, but most importantly, `+
|
||||
`they may be able to watch your webcam now if you are broadcasting!\n\n`+
|
||||
`Note: currently you can only re-mute them the next time you see one of their `+
|
||||
`chat messages, or you can only boot them off your cam after they have already `+
|
||||
`opened it. If you are concerned about this, click Cancel and do not remove `+
|
||||
`the mute on ${username}.`
|
||||
)) {
|
||||
return;
|
||||
}
|
||||
delete this.muted[username];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user