Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Installs required basexx when token package is installed. Fixes #1870.
damenchoc1fb1a7defd0
diff --git a/debian/jitsi-meet-tokens.postinst b/debian/jitsi-meet-tokens.postinstindex 63fe3a2cdc..fb7ff679c4 100644--- a/debian/jitsi-meet-tokens.postinst+++ b/debian/jitsi-meet-tokens.postinst@@ -64,6 +64,11 @@ case "$1" inecho "Failed to install luajwtjitsi - try installing it manually"fi+ # Install basexx+ if ! luarocks install basexx; then+ echo "Failed to install basexx - try installing it manually"+ fi+if [ -x "/etc/init.d/prosody" ]; theninvoke-rc.d prosody restartfidiff --git a/resources/prosody-plugins/mod_auth_token.lua b/resources/prosody-plugins/mod_auth_token.luaindex 94b065eafc..93635f512b 100644--- a/resources/prosody-plugins/mod_auth_token.lua+++ b/resources/prosody-plugins/mod_auth_token.lua@@ -58,7 +58,12 @@ endfunction provider.get_sasl_handler(session)local function get_username_from_token(self, message)- local res = token_util:process_and_verify_token(session);+ local res, error, reason = token_util:process_and_verify_token(session);++ if (res == false) then+ log("warn",+ "Error verifying token err:%s, reason:%s", error, reason);+ endlocal customUsername= prosody.events.fire_event("pre-jitsi-authentication", session);diff --git a/resources/prosody-plugins/mod_muc_size.lua b/resources/prosody-plugins/mod_muc_size.luaindex 921e7b37b7..3f51f5b1ae 100644--- a/resources/prosody-plugins/mod_muc_size.lua+++ b/resources/prosody-plugins/mod_muc_size.lua@@ -1,8 +1,6 @@-- Prosody IM-- Copyright (C) 2017 Atlassian----- This module requires net-url module--- Install it using #luarocks install net-urllocal jid = require "util.jid";local it = require "util.iterators";