libpurple/plugins/joinpart.c

branch
soc.2013.gobjectification.plugins
changeset 37128
7ffe330ea8ea
parent 36934
e7268aeb3b89
parent 35638
1ae6f7c41db3
child 38358
30ba44276e74
--- a/libpurple/plugins/joinpart.c	Fri Mar 14 19:30:31 2014 +0530
+++ b/libpurple/plugins/joinpart.c	Mon Mar 31 07:25:15 2014 +0530
@@ -90,7 +90,7 @@
 	/* If the room is small, don't bother. */
 	chat = PURPLE_CHAT_CONVERSATION(conv);
 	threshold = purple_prefs_get_int(THRESHOLD_PREF);
-	if (g_list_length(purple_chat_conversation_get_users(chat)) < threshold)
+	if (purple_chat_conversation_get_users_count(chat) < threshold)
 		return FALSE;
 
 	if (!purple_prefs_get_bool(HIDE_BUDDIES_PREF) &&

mercurial