Client.on('user-added') will be triggered twice in vue

created () {
zmClient.on("user-added", payload => {
	console.log(`User added`, payload);
});
}

console

Hey @noobchen

Thanks for your feedback.

user-added event will be triggered multiple times, the event payload provides incremental user data, if you want the list of all users, use client.getAllUser() API.

Thanks
Vic

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.