From: Eric W. <war...@us...> - 2001-11-13 06:48:37
|
Update of /cvsroot/gaim/gaim/src/protocols/oscar In directory usw-pr-cvs1:/tmp/cvs-serv26086/protocols/oscar Modified Files: oscar.c Log Message: eh Index: oscar.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/oscar/oscar.c,v retrieving revision 1.63 retrieving revision 1.64 diff -u -d -r1.63 -r1.64 --- oscar.c 2001/11/10 08:02:39 1.63 +++ oscar.c 2001/11/13 06:48:34 1.64 @@ -1087,12 +1087,15 @@ struct gaim_connection *gc = sess->aux_data; struct oscar_data *od = gc->proto_data; char *tmp; + int caps; va_list ap; va_start(ap, fr); info = va_arg(ap, aim_userinfo_t *); va_end(ap); + caps = info->capabilities; + if (!od->icq) { if (info->flags & AIM_FLAG_ACTIVEBUDDY) type |= UC_AB; @@ -1112,6 +1115,8 @@ if (!(info->icqinfo.status & AIM_ICQ_STATE_CHAT)) type |= UC_UNAVAILABLE; } + if (caps & AIM_CAPS_EVERYBUDDY) + caps ^= AIM_CAPS_EVERYBUDDY; debug_printf("icq status: %d\n", info->icqinfo.status); } @@ -1127,7 +1132,7 @@ g_free(tmp); serv_got_update(gc, info->sn, 1, info->warnlevel/10, time(NULL) - info->sessionlen, - time_idle, type, info->capabilities); + time_idle, type, caps); return 1; } |