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
commit412505d3c9c5c93c9d55c1a51cb0a4ed8c9e25fd (patch)
treed73bba3402ec4777289b7d0105bd4c3f0b2ce422 /plugins
parent94fd1eada65f65524901ef6f5466febacf7ae2dd (diff)
parent022198143dcc0d586030d183ac8ca3368ff6172b (diff)
downloadprosody-412505d3c9c5c93c9d55c1a51cb0a4ed8c9e25fd.tar.gz
prosody-412505d3c9c5c93c9d55c1a51cb0a4ed8c9e25fd.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