comparison plugins/mod_pubsub/mod_pubsub.lua @ 9598:dcd85bc34d21

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 30 Oct 2018 19:18:03 +0100
parents 17d43543f9b6
children e7ddf70ae417 8e68136cde08
comparison
equal deleted inserted replaced
9596:b148dd7e78e3 9598:dcd85bc34d21
150 local ok, ret = service:get_nodes(stanza.attr.from); 150 local ok, ret = service:get_nodes(stanza.attr.from);
151 if not ok then 151 if not ok then
152 return; 152 return;
153 end 153 end
154 for node, node_obj in pairs(ret) do 154 for node, node_obj in pairs(ret) do
155 reply:tag("item", { jid = module.host, node = node, name = node_obj.config.name }):up(); 155 reply:tag("item", { jid = module.host, node = node, name = node_obj.config.title }):up();
156 end 156 end
157 end); 157 end);
158 158
159 local admin_aff = module:get_option_string("default_admin_affiliation", "owner"); 159 local admin_aff = module:get_option_string("default_admin_affiliation", "owner");
160 local function get_affiliation(jid) 160 local function get_affiliation(jid)