Software /
code /
prosody
Diff
util/pubsub.lua @ 3945:39e34cb4c491
util.pubsub: Return correct node in get_subscriptions()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 22 Dec 2010 17:42:35 +0100 |
parent | 3942:0323beb7183c |
child | 4099:5c0b7947f0ef |
line wrap: on
line diff
--- a/util/pubsub.lua Wed Dec 22 16:53:38 2010 +0000 +++ b/util/pubsub.lua Wed Dec 22 17:42:35 2010 +0100 @@ -304,7 +304,7 @@ 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]; };