# Bug or Typo in main.js v4.6.15798.0403

**URL:** <https://devforum.zoom.us/t/bug-or-typo-in-main-js-v4-6-15798-0403/17401>\
**Category:** Electron\
**Created:** [May 13, 2020, 8:53am UTC](https://devforum.zoom.us/t/bug-or-typo-in-main-js-v4-6-15798-0403/17401 "2020-05-13T08:53:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![f.barone](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/f.barone/32/9216_2.png) [@f.barone](https://devforum.zoom.us/u/f.barone)\
**Post date:** [May 13, 2020, 8:53am UTC](https://devforum.zoom.us/t/bug-or-typo-in-main-js-v4-6-15798-0403/17401/1 "2020-05-13T08:53:09Z")

</div>

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

[https://github.com/zoom/zoom-sdk-electron/blob/11e721e1cebcdb4c40b7d895e31b32a533edd883/demo/main.js](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)
      }
    }
```

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 15, 2020, 8:10am UTC](https://devforum.zoom.us/t/bug-or-typo-in-main-js-v4-6-15798-0403/17401/2 "2020-05-15T08:10:59Z")

</div>

Hi [f.barone](https://devforum.zoom.us/u/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!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:19pm UTC](https://devforum.zoom.us/t/bug-or-typo-in-main-js-v4-6-15798-0403/17401/3 "2020-08-21T21:19:41Z")

</div>

Closed on August 21, 2020, 9:19pm UTC


