Software /
code /
prosody
Diff
plugins/mod_websocket.lua @ 10097:1f45d316b222
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Jul 2019 16:43:47 +0200 |
parent | 9806:b72d2f4153f7 |
parent | 10092:4b3c129e96f2 |
child | 10111:0f335815244f |
line wrap: on
line diff
--- 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