Software /
code /
prosody
Diff
util/pubsub.lua @ 3942:0323beb7183c
util.pubsub: Use correct node name when returning a list of multiple nodes in a subscriptions response
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Dec 2010 16:45:32 +0000 |
parent | 3938:a3ecaf46bd82 |
child | 3945:39e34cb4c491 |
line wrap: on
line diff
--- a/util/pubsub.lua Wed Dec 22 03:49:52 2010 +0000 +++ b/util/pubsub.lua Wed Dec 22 16:45:32 2010 +0000 @@ -313,7 +313,7 @@ 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]; };