plugins/mod_websocket.lua
changeset 7297 5f4d0753c818
parent 6897 f7203c7cb7ff
child 7317 e327e5b592f5
--- 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)});