Merge 0.11->trunk

This commit is contained in:
Kim Alvefur 2019-07-28 16:43:47 +02:00
commit 412505d3c9

View file

@ -272,6 +272,7 @@ function handle_request(event)
end);
add_filter(session, "stanzas/out", function(stanza)
stanza = st.clone(stanza);
local attr = stanza.attr;
attr.xmlns = attr.xmlns or xmlns_client;
if stanza.name:find("^stream:") then