Make jwt accept boolean values for features

This commit is contained in:
Andrei Bora 2020-11-23 19:13:05 +02:00 committed by Дамян Минков
parent e0d41a30ef
commit 898eca86d5
1 changed files with 1 additions and 1 deletions

View File

@ -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;