Преглед изворни кода

Make jwt accept boolean values for features

master
Andrei Bora пре 5 година
родитељ
комит
898eca86d5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      resources/prosody-plugins/util.lib.lua

+ 1
- 1
resources/prosody-plugins/util.lib.lua Прегледај датотеку

227
 -- everything.
227
 -- everything.
228
 function is_feature_allowed(session, feature)
228
 function is_feature_allowed(session, feature)
229
     if (session.jitsi_meet_context_features == nil
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
         return true;
231
         return true;
232
     else
232
     else
233
         return false;
233
         return false;

Loading…
Откажи
Сачувај