Stores the room name from the bosh url into the session.
This commit is contained in:
parent
2b1e8cdeff
commit
599d84a889
|
@ -23,8 +23,12 @@ 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;
|
||||
end
|
||||
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);
|
||||
|
||||
function provider.test_password(username, password)
|
||||
|
|
Loading…
Reference in New Issue