diff options
author | Kim Alvefur <zash@zash.se> | 2013-05-26 16:01:09 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-05-26 16:01:09 +0200 |
commit | 4a8d033ca18c843418066d7b1d3f0a7a1fc00f42 (patch) | |
tree | 7fa6d4fdc646fd10787f7e084781e0eeb2b434fb /util/pubsub.lua | |
parent | 840cf714cfef934759c0a1dfffda1d5fc5b2d2f5 (diff) | |
download | prosody-4a8d033ca18c843418066d7b1d3f0a7a1fc00f42.tar.gz prosody-4a8d033ca18c843418066d7b1d3f0a7a1fc00f42.zip |
util.pubsub: Fix get_subscriptions to not pass a boolean as node name (thanks jonas)
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r-- | util/pubsub.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua index e7fc86b1..1ecbdfa8 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -350,7 +350,7 @@ function service:get_subscriptions(node, actor, jid) 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]; }; |