sak1b

mute unmute event new

Jun 27th, 2021 (edited)
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. //mute unmute event
  2.  
  3. // if (message._plainMessage.plugindata.data.audiobridge ==="event" && message._plainMessage.plugindata.data.participants) {
  4. // console.log("in event block (mute/unmute)");
  5. // const actor = message._plainMessage.plugindata.data.participants[0];
  6.  
  7. // for (let i = 0; i < userList.length; i++) {
  8. // if (userList[i].id === actor.id) {
  9. // userList[i].muted = actor.muted;
  10. // }
  11. // }
  12.  
  13. // setparticipantList(userList);
  14.  
  15. // }
Add Comment
Please, Sign In to add comment