Software /
code /
prosody
Changeset
5628:ba5c2f6b799e
util.pubsub: Fix get_subscriptions to not pass a boolean as node name (thanks jonas)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 May 2013 16:01:09 +0200 |
parents | 5621:63cfd59999b6 |
children | 5629:2427c81da16c 5630:5f3c0b11aa88 |
files | util/pubsub.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/pubsub.lua Wed May 22 14:32:02 2013 +0100 +++ b/util/pubsub.lua Sun May 26 16:01:09 2013 +0200 @@ -350,7 +350,7 @@ if node then -- Return only subscriptions to this node if subscribed_nodes[node] then ret[#ret+1] = { - node = subscribed_nodes[node]; + node = node; jid = jid; subscription = node_obj.subscribers[jid]; };