Diff

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
child 13486:fdd1438d9ef7
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua	Sun Jul 02 14:31:00 2023 +0200
+++ b/plugins/mod_pubsub/pubsub.lib.lua	Mon Jul 10 00:34:37 2023 +0200
@@ -320,7 +320,7 @@
 	end
 
 	for _, id in ipairs(ret) do
-		reply:tag("item", { jid = service.jid or module.host, name = id }):up();
+		reply:tag("item", { jid = service.config.jid or module.host, name = id }):up();
 	end
 	event.exists = true;
 end