Mercurial > prosody-hg
diff util/datamanager.lua @ 14186:d975d280baec
Merge 13.0->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 25 May 2026 19:01:23 +0100 |
| parents | 604bed81808e |
| children |
line wrap: on
line diff
--- a/util/datamanager.lua Tue May 19 19:27:43 2026 +0100 +++ b/util/datamanager.lua Mon May 25 19:01:23 2026 +0100 @@ -668,7 +668,7 @@ if lfs.attributes(getpath(username, host, store_name, typ), "mode") then return store_name; end - elseif lfs.attributes(node, "mode") == "file" then + elseif lfs.attributes(store_dir..node, "mode") == "file" then local file, ext = node:match("^(.*)%.([dalist]+)$"); if ext == typ then return decode(file)
