Comparison

plugins/mod_pubsub/pubsub.lib.lua @ 13179:1b1ed555f307

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 10 Jul 2023 00:34:37 +0200
parent 12977:74b9e05af71e
parent 13177:6f64542a1336
comparison
equal deleted inserted replaced
13176:0d1cd3185299 13179:1b1ed555f307
318 event.origin.send(pubsub_error_reply(stanza, ret)); 318 event.origin.send(pubsub_error_reply(stanza, ret));
319 return true; 319 return true;
320 end 320 end
321 321
322 for _, id in ipairs(ret) do 322 for _, id in ipairs(ret) do
323 reply:tag("item", { jid = service.jid or module.host, name = id }):up(); 323 reply:tag("item", { jid = service.config.jid or module.host, name = id }):up();
324 end 324 end
325 event.exists = true; 325 event.exists = true;
326 end 326 end
327 327
328 function _M.handle_pubsub_iq(event, service) 328 function _M.handle_pubsub_iq(event, service)