comparison libpurple/plugins/joinpart.c @ 18063:926ccb104da0

disapproval of revision '1411afd7660760db59966c3a9f18e2adab8eb27e'
author Richard Laager <rlaager@wiktel.com>
date Sat, 16 Jun 2007 19:00:35 +0000
parents 4ca97b26a8fb
children 44b4e8bd759b
comparison
equal deleted inserted replaced
18058:4ca97b26a8fb 18063:926ccb104da0
84 g_return_val_if_fail(purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_CHAT, FALSE); 84 g_return_val_if_fail(purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_CHAT, FALSE);
85 85
86 /* If the room is small, don't bother. */ 86 /* If the room is small, don't bother. */
87 chat = PURPLE_CONV_CHAT(conv); 87 chat = PURPLE_CONV_CHAT(conv);
88 threshold = purple_prefs_get_int(THRESHOLD_PREF); 88 threshold = purple_prefs_get_int(THRESHOLD_PREF);
89 if (g_list_length((GList *)purple_conv_chat_get_users(chat)) < threshold) 89 if (g_list_length(purple_conv_chat_get_users(chat)) < threshold)
90 return FALSE; 90 return FALSE;
91 91
92 /* We always care about our buddies! */ 92 /* We always care about our buddies! */
93 if (purple_find_buddy(purple_conversation_get_account(conv), name)) 93 if (purple_find_buddy(purple_conversation_get_account(conv), name))
94 return FALSE; 94 return FALSE;