def updateUserList(self, movieName=None): """refresh the userList in the room""" userList = util.adaptUserList(self.users, movieName=movieName) self.clientProxy.setUserListONE(userList)
def showMainRoom(self): """init the main room""" userList = util.adaptUserList(self.users) movieList = util.adaptMovieList(self.movieList) self.clientProxy.initCompleteONE(userList, movieList)