Stores the room name from the bosh url into the session.
This commit is contained in:
parent
2b1e8cdeff
commit
599d84a889
|
@ -23,7 +23,11 @@ module:hook("bosh-session", function(event)
|
|||
local query = request.url.query;
|
||||
|
||||
if query ~= nil then
|
||||
session.auth_token = query and formdecode(query).token or nil;
|
||||
local params = formdecode(query);
|
||||
session.auth_token = query and params.token or nil;
|
||||
|
||||
-- The room name from the bosh query
|
||||
session.jitsi_bosh_query_room = params.room;
|
||||
end
|
||||
end);
|
||||
|
||||
|
|
Loading…
Reference in New Issue