Example #1
0
def get_all_qqnumbers():
    ev = Evset.new()
    for b in lc.friends():
        b.get_qqnumber().addto(ev)
    for g in lc.groups():
        g.get_qqnumber().addto(ev)
    ev.addListener(cache_database)
Example #2
0
def load_group_info():
    ev = Evset.new()
    lc.get_group_list().addto(ev)
    lc.get_discu_list().addto(ev)
    ev.addListener(poll_msg)