Make jwt accept boolean values for features
This commit is contained in:
parent
e0d41a30ef
commit
898eca86d5
|
@ -227,7 +227,7 @@ end
|
|||
-- everything.
|
||||
function is_feature_allowed(session, feature)
|
||||
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;
|
||||
else
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue