changeset 6945:ed14dda65d8e

[gaim-migrate @ 7492] don't remove a bunch of contacts when an account goes offline committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 24 Sep 2003 15:37:07 +0000
parents a2d19d4da944
children 7802237a098f
files src/blist.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Wed Sep 24 15:18:00 2003 +0000
+++ b/src/blist.c	Wed Sep 24 15:37:07 2003 +0000
@@ -1400,11 +1400,12 @@
 						((GaimBuddy*)bnode)->idle = 0;
 						((GaimBuddy*)bnode)->evil = 0;
 
+						gaim_contact_compute_priority_buddy((GaimContact*)cnode);
+
 						if(ops)
 							ops->remove(gaimbuddylist, bnode);
 					}
 				}
-				gaim_contact_compute_priority_buddy((GaimContact*)cnode);
 			} else if(GAIM_BLIST_NODE_IS_CHAT(cnode) &&
 					((GaimBlistChat*)cnode)->account == account) {
 				((GaimGroup*)gnode)->currentsize--;