diff libpurple/protocols/jabber/xdata.c @ 16442:08db93bbd798

Added account, who, and conversation parameters to the request API calls, and updated all code to match. I can't compile the Perl module, so I'd appreciate it if someone who knows it would verify that this doesn't break Perl.
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 26 Apr 2007 12:25:49 +0000
parents bfa7bc0e7b21
children cac26c30047a ab6d2763b8d8
line wrap: on
line diff
--- a/libpurple/protocols/jabber/xdata.c	Thu Apr 26 10:49:27 2007 +0000
+++ b/libpurple/protocols/jabber/xdata.c	Thu Apr 26 12:25:49 2007 +0000
@@ -334,7 +334,9 @@
 
 	handle = purple_request_fields(js->gc, title, title, instructions, fields,
 			_("OK"), G_CALLBACK(jabber_x_data_ok_cb),
-			_("Cancel"), G_CALLBACK(jabber_x_data_cancel_cb), data);
+			_("Cancel"), G_CALLBACK(jabber_x_data_cancel_cb),
+			purple_connection_get_account(js->gc), /* XXX Do we have a who here? */ NULL, NULL,
+			data);
 
 	g_free(title);
 	g_free(instructions);