From 7fb18d1cb3465fcd03c2fc54adea8cf72232d6fb Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Fri, 26 Aug 2016 14:47:34 -0500 Subject: [PATCH] Fix broken claims comparison --- prosody-plugins/mod_auth_token.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosody-plugins/mod_auth_token.lua b/prosody-plugins/mod_auth_token.lua index 8a8b6a6ff..f080d506b 100644 --- a/prosody-plugins/mod_auth_token.lua +++ b/prosody-plugins/mod_auth_token.lua @@ -154,7 +154,7 @@ function provider.get_sasl_handler(session) else claims, msg = token_util.verify_token(token, appId, appSecret, disableRoomNameConstraints); end - if claims ~= true then + if claims ~= nil then -- Binds room name to the session which is later checked on MUC join session.jitsi_meet_room = claims["room"]; return true;