# HG changeset patch # User Kim Alvefur # Date 1564325027 -7200 # Node ID 1f45d316b22271c831731191c938599a6ae8b1ff # Parent 46a7792fdac55af7828b509ed2975cdc21be33fd# Parent 4b3c129e96f2686f3c8ee873add5cc97dcc02e1d Merge 0.11->trunk diff -r 46a7792fdac5 -r 1f45d316b222 plugins/mod_websocket.lua --- a/plugins/mod_websocket.lua Sun Jul 28 16:17:23 2019 +0200 +++ b/plugins/mod_websocket.lua Sun Jul 28 16:43:47 2019 +0200 @@ -272,6 +272,7 @@ 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