diff src/blist.c @ 8194:22b3974dc1af

[gaim-migrate @ 8916] a bunch of tweaks to jabber roster handling, and a fix for a segfault when you delete the priority buddy in a contact committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 01 Feb 2004 01:06:10 +0000
parents f347c8d25cf5
children 82627be0f420
line wrap: on
line diff
--- a/src/blist.c	Sat Jan 31 22:30:29 2004 +0000
+++ b/src/blist.c	Sun Feb 01 01:06:10 2004 +0000
@@ -1090,6 +1090,10 @@
 		cnode->child = node->next;
 	}
 
+	if(((GaimContact*)cnode)->priority == buddy) {
+		gaim_contact_compute_priority_buddy((GaimContact*)cnode);
+		ops->update(gaimbuddylist, cnode);
+	}
 
 	hb.name = g_strdup(gaim_normalize(buddy->account, buddy->name));
 	hb.account = buddy->account;