[gaim-migrate @ 17545]

Thu, 19 Oct 2006 05:56:00 +0000

author
Richard Nelson <wabz@pidgin.im>
date
Thu, 19 Oct 2006 05:56:00 +0000
changeset 14843
5aa993aad339
parent 14842
fe08ba80d369
child 14844
6042c6c2502f

[gaim-migrate @ 17545]
Patch #1580124 from Richard Nelson (wabz): There's no need to update a contact
if it doesn't have any child.

committer: Sadrul Habib Chowdhury <sadrul@pidgin.im>

libgaim/blist.c file | annotate | diff | comparison | revisions
--- a/libgaim/blist.c	Thu Oct 19 03:23:01 2006 +0000
+++ b/libgaim/blist.c	Thu Oct 19 05:56:00 2006 +0000
@@ -1808,7 +1808,7 @@
 	gaim_blist_schedule_save();
 
 	/* Re-sort the contact */
-	if (contact->priority == buddy) {
+	if (cnode->child && contact->priority == buddy) {
 		gaim_contact_invalidate_priority_buddy(contact);
 		if (ops && ops->update)
 			ops->update(gaimbuddylist, cnode);

mercurial