summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-10-28 20:30:02 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-10-29 21:36:08 (GMT)
commit1bc0b91d81d166d78d73a7ce162213087589cc6b (patch)
tree49a7c6d50620127c49aa2aea0b7fb3a12a5b7d72
parentf5bbaf8718496690ae70d6fbb2ffa28286b271dc (diff)
downloadswift-1bc0b91d81d166d78d73a7ce162213087589cc6b.zip
swift-1bc0b91d81d166d78d73a7ce162213087589cc6b.tar.bz2
Sluift: Fix bug in PubSubNode.list_items
Change-Id: I5c500bdda0f76e81b0b7ae6ce00ee57c2c0fb3e8
-rw-r--r--Sluift/boot.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sluift/boot.lua b/Sluift/boot.lua
index 2505736..b642bfa 100644
--- a/Sluift/boot.lua
+++ b/Sluift/boot.lua
@@ -268,7 +268,7 @@ local function pubsub_node_configuration_to_form(configuration)
end
function PubSubNode.list_items (node, options)
- return node.client:get_disco_items(merge_tables({to = node.jid, query = { node = node.node }}, options))
+ return node.client:get_disco_items(merge_tables({to = node.jid, disco_items = { node = node.node }}, options))
end
local simple_pubsub_node_queries = {