changeset 6983:7db9b3020345

[gaim-migrate @ 7539] this should make contacts not disappear when your account signs off (that is, if they're not _supposed_ to disappear) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 27 Sep 2003 20:49:16 +0000
parents 083d1e4a9c78
children 38a767776cb2
files src/blist.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Sat Sep 27 19:17:21 2003 +0000
+++ b/src/blist.c	Sat Sep 27 20:49:16 2003 +0000
@@ -1439,8 +1439,11 @@
 							ops->remove(gaimbuddylist, bnode);
 					}
 				}
-				if(recompute)
+				if(recompute) {
 					gaim_contact_compute_priority_buddy((GaimContact*)cnode);
+					if(ops)
+						ops->update(gaimbuddylist, cnode);
+				}
 			} else if(GAIM_BLIST_NODE_IS_CHAT(cnode) &&
 					((GaimBlistChat*)cnode)->account == account) {
 				((GaimGroup*)gnode)->currentsize--;