Merge pull request 'fixes Attempt to read a non-existent global 'xmlns'' (#1) from master into live2

Reviewed-on: #1
This commit is contained in:
lookshe 2025-01-05 21:43:39 +01:00
commit e4fb96959e

View file

@ -361,7 +361,7 @@ local function create_upload_slot(origin, orig_from, stanza, namespace, recipien
local reply = st.reply(stanza);
reply:tag("slot", { xmlns = namespace });
if xmlns == xmlns_http_upload_0 then
if namespace == xmlns_http_upload_0 then
reply:tag("put", { url = put_url }):up();
reply:tag("get", { url = get_url }):up();
else