aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-01-17 14:11:45 +0000
committerMatthew Wild <mwild1@gmail.com>2022-01-17 14:11:45 +0000
commitee1f7077e34a29c4df136fa8a2ccc03b1db4daf2 (patch)
tree5364cc41b482f1b3366d85494eabcd9b1f2ecd17 /plugins
parenta798505a97d6d73297976fecf6d23a810e1fb097 (diff)
downloadprosody-ee1f7077e34a29c4df136fa8a2ccc03b1db4daf2.tar.gz
prosody-ee1f7077e34a29c4df136fa8a2ccc03b1db4daf2.zip
mod_storage_xep0227: Fix file export (missing parameter) from refactor in 270047afa6af
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_storage_xep0227.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua
index a8f608b3..c4fe30a4 100644
--- a/plugins/mod_storage_xep0227.lua
+++ b/plugins/mod_storage_xep0227.lua
@@ -34,7 +34,7 @@ local function default_get_user_xml(self, user, host) --luacheck: ignore 212/sel
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");