diff 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
line wrap: on
line diff
--- a/src/server.c	Thu Jun 05 10:22:02 2003 +0000
+++ b/src/server.c	Thu Jun 05 15:37:35 2003 +0000
@@ -1148,6 +1148,13 @@
 	
 	gaim_blist_update_buddy_presence(b, loggedin);
 
+	/* Now, update the rest of the buddies in the list */
+	while (b = gaim_find_buddy(gc->account, NULL)) {
+		gaim_blist_update_buddy_presence(b, loggedin);
+		gaim_blist_update_buddy_idle(b, idle);
+		gaim_blist_update_buddy_evil(b, evil);
+		gaim_blist_update_buddy_status(b, type);
+	}
 }