Software /
code /
prosody
Diff
plugins/mod_websocket.lua @ 7294:5f4d0753c818
mod_websocket: Make sure stanza xmlns filter runs late in the chain
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 18 Mar 2016 00:08:33 +0100 |
parent | 6894:f7203c7cb7ff |
child | 7314:e327e5b592f5 |
line wrap: on
line diff
--- a/plugins/mod_websocket.lua Thu Mar 17 22:25:56 2016 +0100 +++ b/plugins/mod_websocket.lua Fri Mar 18 00:08:33 2016 +0100 @@ -275,7 +275,7 @@ 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)});