Bug or Typo in main.js v4.6.15798.0403

Please note that the function meetinghostchangecb return an integer not a list !

https://github.com/zoom/zoom-sdk-electron/blob/11e721e1cebcdb4c40b7d895e31b32a533edd883/demo/main.js line:133

[main.js]
function meetinghostchangecb(**userList**) {
}

but in the [lib\zoom_meeting_Participants_ctrl.js:34] the parameter stil userId

function meetinghostchangecb(userId) {
      if (_meetinghostchangecb) {
        _meetinghostchangecb(userId)
      }
    }

Hi f.barone

Thanks for the post and thanks for reporting this. Yes, this is a typo. It will not affect the usage. I will forward this to the engineering team to fix this typo.

Thanks!

1 Like