diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-18 00:08:33 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-18 00:08:33 +0100 |
commit | 4633eb56fbfda4ba0e5d790203282f374c8a8079 (patch) | |
tree | 6010a03e3f9353864bdb35a13af43b5d27daeed8 | |
parent | 1994ce590f584ab8e34f09e949cb557212e86773 (diff) | |
download | prosody-4633eb56fbfda4ba0e5d790203282f374c8a8079.tar.gz prosody-4633eb56fbfda4ba0e5d790203282f374c8a8079.zip |
mod_websocket: Make sure stanza xmlns filter runs late in the chain
-rw-r--r-- | plugins/mod_websocket.lua | 2 |
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)}); |