Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //mute unmute event
- // if (message._plainMessage.plugindata.data.audiobridge ==="event" && message._plainMessage.plugindata.data.participants) {
- // console.log("in event block (mute/unmute)");
- // const actor = message._plainMessage.plugindata.data.participants[0];
- // for (let i = 0; i < userList.length; i++) {
- // if (userList[i].id === actor.id) {
- // userList[i].muted = actor.muted;
- // }
- // }
- // setparticipantList(userList);
- // }
Add Comment
Please, Sign In to add comment