Software /
code /
prosody
Changeset
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 |
parents | 7293:c4af754d1e1b |
children | 7295:5f9c8204270f 7296:1859e07ae082 7298:7056bbaf81ee |
files | plugins/mod_websocket.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)});