# HG changeset patch # User Kim Alvefur # Date 1627581897 -7200 # Node ID 27699cc148df4d5ef6b25e79d320b5c5de1fb301 # Parent 5735f931f5c434a217ebd9e7a085f857b1d6a4ee 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. diff -r 5735f931f5c4 -r 27699cc148df plugins/mod_bosh.lua --- 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