aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-07-28 16:43:47 +0200
committerKim Alvefur <zash@zash.se>2019-07-28 16:43:47 +0200
commit715cc27ea2fca89c7999bb0499c6a9e624c282d7 (patch)
treed73bba3402ec4777289b7d0105bd4c3f0b2ce422 /plugins
parentd8ab361f15526623860ccd6ab9ca90451f638736 (diff)
parent3204f55be1cbe4c9871584d0ee957f72afed8055 (diff)
downloadprosody-715cc27ea2fca89c7999bb0499c6a9e624c282d7.tar.gz
prosody-715cc27ea2fca89c7999bb0499c6a9e624c282d7.zip
Merge 0.11->trunk
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_websocket.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua
index 008f6823..4ef9a07f 100644
--- a/plugins/mod_websocket.lua
+++ b/plugins/mod_websocket.lua
@@ -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