function ioListenerUpdateRoomOwner(payload) {
		const { newOwnerusername, roomName } = payload;
		//console.log("Room [" + roomName + "] got new Owner: " + newOwnerusername);
		// Change owner of room and Update State
		const newMap = new Map(roomObjMap);
		newMap.get(roomName).owner = newOwnerusername;
		setRoomObjMap(newMap);
	}
/**
	 * Listener function when a room owner changes
	 * @param {Object} payload
	 */
Listener function when a room owner changes
@param {Object} payload
Listener function when a room owner changes @param { Object } payload
function ioListenerUpdateRoomOwner(payload) {
		const { newOwnerusername, roomName } = payload;
		const newMap = new Map(roomObjMap);
		newMap.get(roomName).owner = newOwnerusername;
		setRoomObjMap(newMap);
	}
function ioListenerUpdateRoomOwner ( payload ) { const { newOwnerusername , roomName } = payload ; const newMap = new Map ( roomObjMap ) ; newMap . get ( roomName ) . owner = newOwnerusername ; setRoomObjMap ( newMap ) ; }
Listener function when a room owner changes
 @param {Object} payload
Listener function when a room owner changes @param { Object } payload
//console.log("Room [" + roomName + "] got new Owner: " + newOwnerusername); // Change owner of room and Update State