def __process_adg(self, command): ver = int(command.args[0]) name = url_codec.decode(command.args[1]) id = int(command.args[2]) self.friend_list.ver = ver self.friend_list.groups[id] = Group(id, name) self.__friend_list_updated() self.callbacks.group_added(id, name)
def __process_lsg(self, command): id = int(command.args[0]) name = url_codec.decode(command.args[1]) group = Group(id, name) self.friend_list.groups[id] = group self.__friend_list_updated()