comparison src/server.c @ 5758:666b04f93c55

[gaim-migrate @ 6183] Now buddies who are in two groups on your list will have their statuses updated for both. gaim_find_buddy can be used in a loop to find all buddies with the specified name on an account. As such, gaim_find_buddy is somewhat slower, but considering that people tend to have far fewer groups than buddies the performance isn't hurt that much. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 05 Jun 2003 15:37:35 +0000
parents af159a5bbaa0
children 147f4c25af15
comparison
equal deleted inserted replaced
5757:f5773332fbed 5758:666b04f93c55
1146 } 1146 }
1147 } 1147 }
1148 1148
1149 gaim_blist_update_buddy_presence(b, loggedin); 1149 gaim_blist_update_buddy_presence(b, loggedin);
1150 1150
1151 /* Now, update the rest of the buddies in the list */
1152 while (b = gaim_find_buddy(gc->account, NULL)) {
1153 gaim_blist_update_buddy_presence(b, loggedin);
1154 gaim_blist_update_buddy_idle(b, idle);
1155 gaim_blist_update_buddy_evil(b, evil);
1156 gaim_blist_update_buddy_status(b, type);
1157 }
1151 } 1158 }
1152 1159
1153 1160
1154 void serv_got_eviled(GaimConnection *gc, const char *name, int lev) 1161 void serv_got_eviled(GaimConnection *gc, const char *name, int lev)
1155 { 1162 {