aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_websocket.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-05-16 23:50:08 +0100
committerMatthew Wild <mwild1@gmail.com>2018-05-16 23:50:08 +0100
commit3754dac5822f0eed7253db31635d48c5db27dc5d (patch)
tree8cba4635246c19cb8ca893a69d456539ab99a920 /plugins/mod_websocket.lua
parente3979fddddf4f4621a2509b9c933c1f7e24e1360 (diff)
parent6a8358e64753fca28bcae3d85cfd6cc8560b79de (diff)
downloadprosody-3754dac5822f0eed7253db31635d48c5db27dc5d.tar.gz
prosody-3754dac5822f0eed7253db31635d48c5db27dc5d.zip
Merge 0.10 -> trunk
This commit intentionally drops changes from c2b99fa134b3 and 8da11142fabf which are based on older MUC code.
Diffstat (limited to 'plugins/mod_websocket.lua')
-rw-r--r--plugins/mod_websocket.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua
index 4f43cb7b..d301088e 100644
--- a/plugins/mod_websocket.lua
+++ b/plugins/mod_websocket.lua
@@ -261,6 +261,7 @@ function handle_request(event)
session.ip = request.ip;
session.secure = consider_websocket_secure or session.secure;
+ session.websocket_request = request;
session.open_stream = session_open_stream;
session.close = session_close;