From 898fc1ff90e3c6244bbe8e88b5c533cde30bb588 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 22 Dec 2010 17:42:35 +0100 Subject: [PATCH] util.pubsub: Return correct node in get_subscriptions() --- util/pubsub.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/pubsub.lua b/util/pubsub.lua index f12dad07..3beafab5 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -304,7 +304,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 = node; + node = subscribed_node; jid = jid; subscription = node_obj.subscribers[jid]; }; -- 2.30.2