Diff

plugins/pubsub.lua @ 490:6b2f31da9610

Update for new Prosody module namespace
author Kim Alvefur <zash@zash.se>
date Sat, 20 May 2023 20:48:03 +0200
parent 468:fae5ae0ddb84
line wrap: on
line diff
--- a/plugins/pubsub.lua	Tue May 23 19:46:52 2023 +0200
+++ b/plugins/pubsub.lua	Sat May 20 20:48:03 2023 +0200
@@ -197,7 +197,7 @@
 			self.stream:send_iq(pubsub_iq("get", self.service, nil, "configure", self.node)
 			, function(reply)
 				local form = reply:get_child("pubsub"):get_child("configure"):get_cild("x");
-				local config = callback(require"util.dataforms".something(form))
+				local config = callback(require"prosody.util.dataforms".something(form))
 				self.stream:send_iq(pubsub_iq("set", config, ...))
 			end);
 		end