aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index c77140b9..3d97d4ed 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -338,7 +338,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_node;
+ node = subscribed_nodes[node];
jid = jid;
subscription = node_obj.subscribers[jid];
};