mod_storage_xep0227: Fix file export (missing parameter) from refactor in 270047afa6af
--- 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");