Browse Source

Make jwt accept boolean values for features

master
Andrei Bora 4 years ago
parent
commit
898eca86d5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      resources/prosody-plugins/util.lib.lua

+ 1
- 1
resources/prosody-plugins/util.lib.lua View File

@@ -227,7 +227,7 @@ end
227 227
 -- everything.
228 228
 function is_feature_allowed(session, feature)
229 229
     if (session.jitsi_meet_context_features == nil
230
-        or session.jitsi_meet_context_features[feature] == "true") then
230
+        or session.jitsi_meet_context_features[feature] == "true" or session.jitsi_meet_context_features[feature] == true) then
231 231
         return true;
232 232
     else
233 233
         return false;

Loading…
Cancel
Save