projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
573e7fd
)
util.pubsub: Fix get_subscriptions to not pass a boolean as node name (thanks jonas)
author
Kim Alvefur
<zash@zash.se>
Sun, 26 May 2013 14:01:09 +0000
(16:01 +0200)
committer
Kim Alvefur
<zash@zash.se>
Sun, 26 May 2013 14:01:09 +0000
(16:01 +0200)
util/pubsub.lua
patch
|
blob
|
history
diff --git
a/util/pubsub.lua
b/util/pubsub.lua
index e7fc86b10c23d706b1c6792bcb22eabd74ab3032..1ecbdfa81df130b0177ee0fb9b273f82b3884bb8 100644
(file)
--- 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];
};