Software /
code /
prosody-modules
Changeset
3341:1e1dbd7e5b6c
mod_http_upload: Use legacy datamanager directly (makes it work)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 27 Sep 2018 20:16:15 +0200 |
parents | 3340:6081cbfd1220 |
children | 3342:3aa5419e3576 |
files | mod_http_upload/mod_http_upload.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua Thu Sep 27 20:03:10 2018 +0200 +++ b/mod_http_upload/mod_http_upload.lua Thu Sep 27 20:16:15 2018 +0200 @@ -326,6 +326,7 @@ module:log("info", "URL: <%s>; Storage path: %s", module:http_url(), storage_path); function module.command(args) + datamanager = require "core.storagemanager".olddm; -- luacheck: ignore 421/user if args[1] == "expire" then local split = require "util.jid".prepped_split;