diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-29 20:04:57 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-29 20:04:57 +0200 |
commit | c315a8520126c29bcd2120550123e50cb2802c27 (patch) | |
tree | de4fe064fb5d0b0817abc8a83fc5249e3e24116d /plugins | |
parent | b2327f5d4cf4ea870c80f59e4f1c7e15c59dd021 (diff) | |
download | prosody-c315a8520126c29bcd2120550123e50cb2802c27.tar.gz prosody-c315a8520126c29bcd2120550123e50cb2802c27.zip |
mod_bosh: Add todo to use util.session to create session object
So that we get single point where shared session properties can be
added. But not now. One day. Maybe. Patches welcome.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_bosh.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 7e710760..c337c03c 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -323,6 +323,7 @@ function stream_callbacks.streamopened(context, attr) -- New session sid = new_uuid(); + -- TODO use util.sesssion local session = { type = "c2s_unauthed", conn = request.conn, sid = sid, host = attr.to, rid = rid - 1, -- Hack for initial session setup, "previous" rid was $current_request - 1 |