Adds getRoomId function for cloak client.