projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util.pubsub: Add service:get_nodes()
[prosody.git]
/
util
/
pubsub.lua
diff --git
a/util/pubsub.lua
b/util/pubsub.lua
index 02e845e192d0536da60094aa64989d7d20be7714..811f4a154c3ddbb25ef73183fc9020efcc9cf48e 100644
(file)
--- a/
util/pubsub.lua
+++ b/
util/pubsub.lua
@@
-77,4
+77,8
@@
function service:get(node, actor, id)
end
end
+function service:get_nodes(actor)
+ return true, self.nodes;
+end
+
return _M;