Closed njsfield closed 7 years ago
Goes through ALL users in room to see if they have a commsid, if they do, their usernames and permissions are added to an array to return the following-
[{username: ’john’, permissions: [‘av’, ‘chat’]}…]
Takes the endpointid as argument, and removes its commsid key in its object
getActiveUsers()
Goes through ALL users in room to see if they have a commsid, if they do, their usernames and permissions are added to an array to return the following-
removeCommsId(endpointid)
Takes the endpointid as argument, and removes its commsid key in its object