Software /
code /
prosody
Changeset
9236:83375ec33619
util.pubsub: Expand comment on return type from get_items
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Sep 2018 00:45:51 +0200 |
parents | 9235:7fbcabee6df1 |
children | 9237:b86c2e135797 |
files | util/pubsub.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/pubsub.lua Fri Aug 31 23:54:13 2018 +0200 +++ b/util/pubsub.lua Sat Sep 01 00:45:51 2018 +0200 @@ -583,7 +583,7 @@ return true end -function service:get_items(node, actor, id) --> ok, err +function service:get_items(node, actor, id) --> (true, { id, [id] = node }) or (false, err) -- Access checking if not self:may(node, actor, "get_items") then return false, "forbidden";