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
fix: Updates token verification hooks priority. (#11105)
Дамян Минков14cad060cb80
diff --git a/resources/prosody-plugins/mod_token_verification.lua b/resources/prosody-plugins/mod_token_verification.luaindex 0611b07c5e..6f0b4f600d 100644--- a/resources/prosody-plugins/mod_token_verification.lua+++ b/resources/prosody-plugins/mod_token_verification.lua@@ -78,7 +78,7 @@ module:hook("muc-room-pre-create", function(event)if not verify_user(origin, stanza) thenreturn true; -- Returning any value other than nil will halt processing of the eventend-end);+end, 99);module:hook("muc-occupant-pre-join", function(event)local origin, room, stanza = event.origin, event.room, event.stanza;@@ -86,7 +86,7 @@ module:hook("muc-occupant-pre-join", function(event)if not verify_user(origin, stanza) thenreturn true; -- Returning any value other than nil will halt processing of the eventend-end);+end, 99);for event_name, method in pairs {-- Normal room interactions