def update_completions(self): self.completion_list = get_completion_list( self.CMDS, self.frame.chatrooms.roomlist.server_rooms) for user in self.users.values(): user.set_completion_list(list(self.completion_list))
def update_completions(self): self.completion_list = get_completion_list(self.CMDS, self.server_rooms) if self.ui_callback: self.ui_callback.set_completion_list(self.completion_list)
def update_completions(self): self.completion_list = get_completion_list(self.CMDS, self.roomlist.server_rooms) for room in self.joinedrooms.values(): # We need to create a copy of the completion list, due to unique room usernames room.set_completion_list(list(self.completion_list))
def update_completions(self): chat_rooms = [] if self.ui_callback: chat_rooms = self.ui_callback.frame.chatrooms.roomlist.server_rooms self.completion_list = get_completion_list(self.CMDS, chat_rooms) if self.ui_callback: self.ui_callback.set_completion_list(self.completion_list)