Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: define local vars in public key handler (#14176)

Aaron van Meerten5d84a4cc9055
diff --git a/resources/prosody-plugins/token/util.lib.lua b/resources/prosody-plugins/token/util.lib.lua
index ce4087c039..498827a884 100644
--- a/resources/prosody-plugins/token/util.lib.lua
+++ b/resources/prosody-plugins/token/util.lib.lua
@@ -123,6 +123,7 @@ function Util.new(module)
self.cachedKeys = {};
local update_keys_cache;
update_keys_cache = async.runner(function (name)
+ local content, code, cache_for;
content, code, cache_for = http_get_with_retry(self.cacheKeysUrl, nr_retries);
if content ~= nil then
local keys_to_delete = table_shallow_copy(self.cachedKeys);