Advertisement
krot

jitsi password set

Oct 30th, 2021
1,483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // set new password for channel
  2.              this.$refs.jitsiRef.addEventListener('participantRoleChanged', function(event) {
  3.                 if (event.role === "moderator") {
  4.                     self.$refs.jitsiRef.executeCommand('password', '1');
  5.                 }
  6.             });
  7.             //ввод пароля
  8.             this.$refs.jitsiRef.addEventListener('passwordRequired', function(){
  9.                self.$refs.jitsiRef.executeCommand('password', '1');
  10.             });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement