Wed, 22 Dec 2010 17:42:35 +0100
util.pubsub: Return correct node in get_subscriptions()
util/pubsub.lua | file | annotate | diff | comparison | revisions |
--- 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]; };