comparison libpurple/protocols/jabber/libxmpp.c @ 21603:a4b6854737d5

Implement more of XEP-0065 to support sending files through a proxy. To avoid adding strings this close to a release, it only supports using a proxy that is discovered from the server, but we'll include an account option to manually specify a ft proxy in the next release. Lots of this is based on a patch from galt - Fixes #3730, #116, #1768
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 21 Nov 2007 05:22:39 +0000
parents 23d046a20aa0
children 844225b0c905
comparison
equal deleted inserted replaced
21602:53fee49ce1c5 21603:a4b6854737d5
231 option = purple_account_option_string_new(_("Connect server"), 231 option = purple_account_option_string_new(_("Connect server"),
232 "connect_server", NULL); 232 "connect_server", NULL);
233 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, 233 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options,
234 option); 234 option);
235 235
236 236 #if 0 /* TODO: Enable this when we're string unfrozen */
237 option = purple_account_option_string_new(_("File transfer proxies"),
238 "ft_proxies",
239 /* TODO: Is this an acceptable default? */
240 "proxy.jabber.org:7777");
241 prpl_info.protocol_options = g_list_append(prpl_info.protocol_options,
242 option);
243 #endif
244
237 jabber_init_plugin(plugin); 245 jabber_init_plugin(plugin);
238 246
239 purple_prefs_remove("/plugins/prpl/jabber"); 247 purple_prefs_remove("/plugins/prpl/jabber");
240 248
241 /* XXX - If any other plugin wants SASL this won't be good ... */ 249 /* XXX - If any other plugin wants SASL this won't be good ... */