comparison src/protocols/oscar/oscar.c @ 11910:700ec4523c04

[gaim-migrate @ 14201] begone, buddy->present! committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 30 Oct 2005 23:33:36 +0000
parents 346bd669c8f2
children 52f27ffe68a5
comparison
equal deleted inserted replaced
11909:1b029c5898af 11910:700ec4523c04
6313 ICQ client doesn't treat those messages as being "ANSI- 6313 ICQ client doesn't treat those messages as being "ANSI-
6314 encoded" (and instead, assumes them to be UTF-8). 6314 encoded" (and instead, assumes them to be UTF-8).
6315 For more details, see SF issue 1179452. 6315 For more details, see SF issue 1179452.
6316 */ 6316 */
6317 GaimBuddy *buddy = gaim_find_buddy(gc->account, name); 6317 GaimBuddy *buddy = gaim_find_buddy(gc->account, name);
6318 if (buddy && buddy->present != 0) { 6318 if (buddy && GAIM_BUDDY_IS_ONLINE(buddy)) {
6319 args.features = features_icq; 6319 args.features = features_icq;
6320 args.featureslen = sizeof(features_icq); 6320 args.featureslen = sizeof(features_icq);
6321 } else { 6321 } else {
6322 args.features = features_icq_offline; 6322 args.features = features_icq_offline;
6323 args.featureslen = sizeof(features_icq_offline); 6323 args.featureslen = sizeof(features_icq_offline);