Переглянути джерело

Make jwt accept boolean values for features

j8
Andrei Bora 4 роки тому
джерело
коміт
898eca86d5
1 змінених файлів з 1 додано та 1 видалено
  1. 1
    1
      resources/prosody-plugins/util.lib.lua

+ 1
- 1
resources/prosody-plugins/util.lib.lua Переглянути файл

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

Завантаження…
Відмінити
Зберегти