Software /
code /
prosody
Changeset
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 |
parents | 3941:526624f7852e |
children | 3943:ad5924c31953 |
files | util/pubsub.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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]; };