mod_storage_xep0227: Fix file export (missing parameter) from refactor in 270047afa6af
authorMatthew Wild <mwild1@gmail.com>
Mon, 17 Jan 2022 14:11:45 +0000
changeset 12197 a6d2b536c41a
parent 12196 6a772a0c0dfd
child 12198 9965d7d126c7
mod_storage_xep0227: Fix file export (missing parameter) from refactor in 270047afa6af
plugins/mod_storage_xep0227.lua
--- a/plugins/mod_storage_xep0227.lua	Sat Jan 15 17:37:07 2022 +0100
+++ b/plugins/mod_storage_xep0227.lua	Mon Jan 17 14:11:45 2022 +0000
@@ -34,7 +34,7 @@
 	f:close();
 	return parse_xml_real(s);
 end
-local function default_set_user_xml(user, host, xml)
+local function default_set_user_xml(self, user, host, xml)
 	local jid = jid_join(user, host);
 	local path = paths.join(prosody.paths.data, jid..".xml");
 	local f, err = io_open(path, "w");