Software / code / prosody
Changeset
11733:27699cc148df
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.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 29 Jul 2021 20:04:57 +0200 |
| parents | 11732:5735f931f5c4 |
| children | 11734:c0fc4ca74046 |
| files | plugins/mod_bosh.lua |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Thu Jul 29 17:37:27 2021 +0200 +++ b/plugins/mod_bosh.lua Thu Jul 29 20:04:57 2021 +0200 @@ -323,6 +323,7 @@ -- 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