I try to change host on button click.
This is function
const changeHost = async () => {
const currentUser = await zmClient.getCurrentUserInfo();
await zmClient.makeHost(currentUser.userId);
}
Get error
- reason: “operation is not applicable to self”
- type: “INVALID_OPERATION”
Can host be changed on this way?