diff src/protocols/yahoo/yahoo.c @ 12999:68db2c40efb2

[gaim-migrate @ 15352] Bleeter updated yahoo to support ignoring conference and chatroom invitations similarly to how SILC and the native y! client do. If you don't like the verbiage, blame me. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 23 Jan 2006 01:47:56 +0000
parents 6ea877c5a444
children eb64b2b26e56
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Mon Jan 23 01:27:40 2006 +0000
+++ b/src/protocols/yahoo/yahoo.c	Mon Jan 23 01:47:56 2006 +0000
@@ -3698,6 +3698,10 @@
 
 	option = gaim_account_option_string_new(_("Chat room locale"), "room_list_locale", YAHOO_ROOMLIST_LOCALE);
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
+
+	option = gaim_account_option_bool_new(_("Ignore conference and chatroom invitations"), "ignore_invites", FALSE);
+	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);
+
 #if 0
 	option = gaim_account_option_string_new(_("Chat room list URL"), "room_list", YAHOO_ROOMLIST_URL);
 	prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);