From 5616824d0afb39fdbc02597537747c756b91fbe0 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 26 May 2013 16:01:09 +0200 Subject: util.pubsub: Fix get_subscriptions to not pass a boolean as node name (thanks jonas) --- util/pubsub.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/pubsub.lua b/util/pubsub.lua index e7fc86b1..1ecbdfa8 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -350,7 +350,7 @@ function service:get_subscriptions(node, actor, jid) if node then -- Return only subscriptions to this node if subscribed_nodes[node] then ret[#ret+1] = { - node = subscribed_nodes[node]; + node = node; jid = jid; subscription = node_obj.subscribers[jid]; }; -- cgit v1.2.3