Diff

plugins/jingle.lua @ 140:97bf22d6ff96

plugins.jingle, plugins.jingle_s5b: API changes to allow not sending <reason> inside <content> when transfer succeeds
author Matthew Wild <mwild1@gmail.com>
date Wed, 15 Sep 2010 16:31:24 +0100
parent 118:d076948cd0e1
child 197:7e98cf2c1d8d
line wrap: on
line diff
--- a/plugins/jingle.lua	Wed Sep 15 16:17:40 2010 +0100
+++ b/plugins/jingle.lua	Wed Sep 15 16:31:24 2010 +0100
@@ -159,9 +159,7 @@
 				action = command,
 				initiator = self.role == "initiator" and self.stream.jid or nil,
 				responder = self.role == "responder" and self.jid or nil,
-			})
-				:tag("content", { creator = self.creator, name = self.name })
-					:add_child(element);
+			}):add_child(element);
 		if not callback then
 			self.stream:send(stanza);
 		else