Diff

plugins/mod_storage_xep0227.lua @ 12193:a6d2b536c41a

mod_storage_xep0227: Fix file export (missing parameter) from refactor in 270047afa6af
author Matthew Wild <mwild1@gmail.com>
date Mon, 17 Jan 2022 14:11:45 +0000
parent 12189:82c8e855c850
child 12194:9965d7d126c7
line wrap: on
line diff
--- 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");