plugins.jingle_ft: Change content 'name' field to 'type' to avoid confusion with the 'name' attribute of the <content> tag in Jingle

Fri, 17 Sep 2010 16:40:07 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 17 Sep 2010 16:40:07 +0100
changeset 143
641c0a1bb330
parent 142
ea753bc81a33
child 144
46e933d81024

plugins.jingle_ft: Change content 'name' field to 'type' to avoid confusion with the 'name' attribute of the <content> tag in Jingle

plugins/jingle_ft.lua file | annotate | diff | comparison | revisions
--- a/plugins/jingle_ft.lua	Wed Sep 15 16:52:18 2010 +0100
+++ b/plugins/jingle_ft.lua	Fri Sep 17 16:40:07 2010 +0100
@@ -10,7 +10,7 @@
 		stream:add_disco_feature(xmlns_jingle_ft);
 	end, 10);
 	
-	local ft_content = { name = "file" };
+	local ft_content = { type = "file" };
 	
 	function ft_content:generate_accept(description, options)
 		if options and options.save_file then

mercurial