Mercurial > pidgin
diff libpurple/protocols/qq/buddy_list.c @ 24135:dbc7a9742f8d
2008.09.26 - ccpaging <ccpaging(at)gmail.com>
* Added 'Request/Add/Remove Buddy' functions
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 14:35:05 +0000 |
parents | bdfcfd71449c |
children | 87e61a85f5dd |
line wrap: on
line diff
--- a/libpurple/protocols/qq/buddy_list.c Wed Oct 22 14:33:20 2008 +0000 +++ b/libpurple/protocols/qq/buddy_list.c Wed Oct 22 14:35:05 2008 +0000 @@ -138,7 +138,7 @@ bytes += qq_get8(&bs->unknown2, data + bytes); /* 012-012: status */ bytes += qq_get8(&bs->status, data + bytes); - /* 013-014: client_version */ + /* 013-014: client tag */ bytes += qq_get16(&bs->unknown3, data + bytes); /* 015-030: unknown key */ bytes += qq_getdata(&(bs->unknown_key[0]), QQ_KEY_LENGTH, data + bytes); @@ -207,7 +207,6 @@ if (bo.bs.uid == qd->uid) { purple_debug_warning("QQ", "I am in online list %d\n", bo.bs.uid); - continue; } /* update buddy information */ @@ -228,8 +227,8 @@ } /* we find one and update qq_buddy */ /* - if(0 != fe->s->client_version) - q_bud->client_version = fe->s->client_version; + if(0 != fe->s->client_tag) + q_bud->client_tag = fe->s->client_tag; */ q_bud->ip.s_addr = bo.bs.ip.s_addr; q_bud->port = bo.bs.port;