Make jwt accept boolean values for features
This commit is contained in:
parent
e0d41a30ef
commit
898eca86d5
|
@ -227,7 +227,7 @@ end
|
||||||
-- everything.
|
-- everything.
|
||||||
function is_feature_allowed(session, feature)
|
function is_feature_allowed(session, feature)
|
||||||
if (session.jitsi_meet_context_features == nil
|
if (session.jitsi_meet_context_features == nil
|
||||||
or session.jitsi_meet_context_features[feature] == "true") then
|
or session.jitsi_meet_context_features[feature] == "true" or session.jitsi_meet_context_features[feature] == true) then
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue