plugins/pubsub.lua

changeset 490
6b2f31da9610
parent 468
fae5ae0ddb84
--- 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

mercurial