aboutsummaryrefslogtreecommitdiffstats
path: root/util/pubsub.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r--util/pubsub.lua2
1 files changed, 1 insertions, 1 deletions
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];
};