Sat, 10 Dec 2011 15:21:09 +0100
plugins.pubsub: Fix missing <item/> when publishing.
plugins/pubsub.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/pubsub.lua Wed Dec 07 02:46:00 2011 +0000 +++ b/plugins/pubsub.lua Sat Dec 10 15:21:09 2011 +0100 @@ -181,7 +181,7 @@ if options ~= nil then error("Node configuration is not implemented yet."); end - self.stream:send_iq(pubsub_iq("set", self.service, nil, "publish", self.node, nil, id) + self.stream:send_iq(pubsub_iq("set", self.service, nil, "publish", self.node, nil, id or true) :add_child(node) , callback); end