Пример #1
0
 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)
Пример #2
0
    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()