comparison src/server.c @ 6506:b6f7fcafc908

[gaim-migrate @ 7023] The buddy-idle and buddy-unidle events now take only a struct buddy (and not a GaimAccount) as appears to have originally been intended. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Tue, 19 Aug 2003 20:43:11 +0000
parents 70d5122bc3ff
children e74e378e86bf
comparison
equal deleted inserted replaced
6505:5ca59294698d 6506:b6f7fcafc908
1122 gaim_blist_save(); 1122 gaim_blist_save();
1123 } 1123 }
1124 1124
1125 if (!b->idle && idle) { 1125 if (!b->idle && idle) {
1126 gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_IDLE); 1126 gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_IDLE);
1127 gaim_signal_emit(gaim_blist_get_handle(), "buddy-idle", account, b); 1127 gaim_signal_emit(gaim_blist_get_handle(), "buddy-idle", b);
1128 system_log(log_idle, gc, b, OPT_LOG_BUDDY_IDLE); 1128 system_log(log_idle, gc, b, OPT_LOG_BUDDY_IDLE);
1129 } else if (b->idle && !idle) { 1129 } else if (b->idle && !idle) {
1130 gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_IDLE_RETURN); 1130 gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_IDLE_RETURN);
1131 gaim_signal_emit(gaim_blist_get_handle(), "buddy-unidle", account, b); 1131 gaim_signal_emit(gaim_blist_get_handle(), "buddy-unidle", b);
1132 system_log(log_unidle, gc, b, OPT_LOG_BUDDY_IDLE); 1132 system_log(log_unidle, gc, b, OPT_LOG_BUDDY_IDLE);
1133 } 1133 }
1134 1134
1135 gaim_blist_update_buddy_idle(b, idle); 1135 gaim_blist_update_buddy_idle(b, idle);
1136 gaim_blist_update_buddy_evil(b, evil); 1136 gaim_blist_update_buddy_evil(b, evil);