diff finch/plugins/grouping.c @ 32810:d288f5215a9a

Add purple_contact_get_contact_size().
author andrew.victor@mxit.com
date Mon, 31 Oct 2011 20:35:39 +0000
parents 7921a53b94b3
children
line wrap: on
line diff
--- a/finch/plugins/grouping.c	Mon Oct 31 19:21:14 2011 +0000
+++ b/finch/plugins/grouping.c	Mon Oct 31 20:35:39 2011 +0000
@@ -54,7 +54,7 @@
 		case PURPLE_BLIST_CONTACT_NODE:
 			{
 				PurpleContact *contact = (PurpleContact*)node;
-				if (contact->currentsize > 0)
+				if (purple_contact_get_contact_size(contact, FALSE) > 0)
 					return TRUE;
 				return FALSE;
 			}