Description
Renaming another user as co-host throws error 3003
Error
Code: 3003 Message: null
Which version?
1.8.5
To Reproduce
Steps to reproduce the behavior:
Get to be co-host
Rename a user which is not you (ZoomMtg.rename({userId: 1234, oldName: ‘oldName’, newName: ‘newName’}))
See error
Device:
Device: Computer
OS: Fedora 33
Version: 5.9.15-200.fc33.x86_64
Browser: Chrome Version 87.0.4280.88 (64-Bit)
Additional context
Imho the bug is located inside the function zmg_isMeetingHost which checks only for being Host but doesnt check for being co-host. The same issue was posted some time ago.