comparison src/protocols/oscar/oscar.c @ 3267:5947e31a01c0

[gaim-migrate @ 3285] SmarterChild, Agent Reuters, and RingMessenger are on ICQ now. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 21 May 2002 21:26:53 +0000
parents f1ac8b51ec6b
children 6231e0f0ee9e
comparison
equal deleted inserted replaced
3266:8cc309b8cb32 3267:5947e31a01c0
1148 info = va_arg(ap, aim_userinfo_t *); 1148 info = va_arg(ap, aim_userinfo_t *);
1149 va_end(ap); 1149 va_end(ap);
1150 1150
1151 if (info->present & AIM_USERINFO_PRESENT_CAPABILITIES) 1151 if (info->present & AIM_USERINFO_PRESENT_CAPABILITIES)
1152 caps = info->capabilities; 1152 caps = info->capabilities;
1153 1153 if (info->flags & AIM_FLAG_ACTIVEBUDDY)
1154 if (!od->icq && (info->present & AIM_USERINFO_PRESENT_FLAGS)) { 1154 type |= UC_AB;
1155 if (info->flags & AIM_FLAG_ACTIVEBUDDY) 1155
1156 type |= UC_AB; 1156 if ((!od->icq) && (info->present & AIM_USERINFO_PRESENT_FLAGS)) {
1157 if (info->flags & AIM_FLAG_UNCONFIRMED) 1157 if (info->flags & AIM_FLAG_UNCONFIRMED)
1158 type |= UC_UNCONFIRMED; 1158 type |= UC_UNCONFIRMED;
1159 if (info->flags & AIM_FLAG_ADMINISTRATOR) 1159 if (info->flags & AIM_FLAG_ADMINISTRATOR)
1160 type |= UC_ADMIN; 1160 type |= UC_ADMIN;
1161 if (info->flags & AIM_FLAG_AOL) 1161 if (info->flags & AIM_FLAG_AOL)
1162 type |= UC_AOL; 1162 type |= UC_AOL;
1163 if (info->flags & AIM_FLAG_FREE) 1163 if (info->flags & AIM_FLAG_FREE)
1164 type |= UC_NORMAL; 1164 type |= UC_NORMAL;
1165 if (info->flags & AIM_FLAG_AWAY) 1165 if (info->flags & AIM_FLAG_AWAY)
1166 type |= UC_UNAVAILABLE; 1166 type |= UC_UNAVAILABLE;
1167 if (info->flags & AIM_FLAG_WIRELESS) 1167 if (info->flags & AIM_FLAG_WIRELESS)
1168 type |= UC_WIRELESS; 1168 type |= UC_WIRELESS;
1169 } 1169 }
1170 if (info->present & AIM_USERINFO_PRESENT_ICQEXTSTATUS) { 1170 if (info->present & AIM_USERINFO_PRESENT_ICQEXTSTATUS) {
1171 type = (info->icqinfo.status << 7); 1171 type = (info->icqinfo.status << 7);
1172 if (!(info->icqinfo.status & AIM_ICQ_STATE_CHAT) && 1172 if (!(info->icqinfo.status & AIM_ICQ_STATE_CHAT) &&
1173 (info->icqinfo.status != AIM_ICQ_STATE_NORMAL)) { 1173 (info->icqinfo.status != AIM_ICQ_STATE_NORMAL)) {