aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_websocket.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-18 00:08:33 +0100
committerKim Alvefur <zash@zash.se>2016-03-18 00:08:33 +0100
commit6a52a3feac921cd4263de3771a8984955f6c6bda (patch)
tree6010a03e3f9353864bdb35a13af43b5d27daeed8 /plugins/mod_websocket.lua
parentfa204b9d3326e2e8f8cee29685c2f0ee53cfdb33 (diff)
downloadprosody-6a52a3feac921cd4263de3771a8984955f6c6bda.tar.gz
prosody-6a52a3feac921cd4263de3771a8984955f6c6bda.zip
mod_websocket: Make sure stanza xmlns filter runs late in the chain
Diffstat (limited to 'plugins/mod_websocket.lua')
-rw-r--r--plugins/mod_websocket.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua
index 418cd846..274e587a 100644
--- a/plugins/mod_websocket.lua
+++ b/plugins/mod_websocket.lua
@@ -275,7 +275,7 @@ function handle_request(event)
attr["xmlns:stream"] = attr["xmlns:stream"] or xmlns_streams;
end
return stanza;
- end);
+ end, -1000);
add_filter(session, "bytes/out", function(data)
return build_frame({ FIN = true, opcode = 0x01, data = tostring(data)});