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 e9cec9ec..f12dad07 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -313,7 +313,7 @@ function service:get_subscriptions(node, actor, jid)
local nodes = self.nodes;
for subscribed_node in pairs(subscribed_nodes) do
ret[#ret+1] = {
- node = node;
+ node = subscribed_node;
jid = jid;
subscription = nodes[subscribed_node].subscribers[jid];
};