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(prosody): Fixes prosody compat with 0.12.
damencho5e9c44ff7386
diff --git a/resources/prosody-plugins/mod_room_metadata_component.lua b/resources/prosody-plugins/mod_room_metadata_component.luaindex 8025b599b3..ec9883f3d3 100644--- a/resources/prosody-plugins/mod_room_metadata_component.lua+++ b/resources/prosody-plugins/mod_room_metadata_component.lua@@ -74,7 +74,7 @@ local table_equals = util.table_equals;local get_room_by_name_and_subdomain = util.get_room_by_name_and_subdomain;local get_occupant_by_real_jid = util.get_occupant_by_real_jid;-local dt = require "prosody.util.datetime";+local dt = require "util.datetime";local ext_services = module:depends("external_services");local get_services = ext_services.get_services;diff --git a/resources/prosody-plugins/mod_short_lived_token.lua b/resources/prosody-plugins/mod_short_lived_token.luaindex 9e8b545957..d8edd373a0 100644--- a/resources/prosody-plugins/mod_short_lived_token.lua+++ b/resources/prosody-plugins/mod_short_lived_token.lua@@ -18,7 +18,7 @@ local util = module:require 'util';local is_vpaas = util.is_vpaas;local process_host_module = util.process_host_module;local table_find = util.table_find;-local create_throttle = require 'prosody.util.throttle'.create;+local create_throttle = require 'util.throttle'.create;local SERVICE_TYPE = 'short-lived-token';local options = module:get_option('short_lived_token');diff --git a/resources/prosody-plugins/mod_speakerstats_component.lua b/resources/prosody-plugins/mod_speakerstats_component.luaindex 11162913fd..9964609208 100644--- a/resources/prosody-plugins/mod_speakerstats_component.lua+++ b/resources/prosody-plugins/mod_speakerstats_component.lua@@ -19,8 +19,8 @@ local st = require "util.stanza";local socket = require "socket";local json = require 'cjson.safe';local jid_split = require 'util.jid'.split;-local queue = require "prosody.util.queue";-local array = require "prosody.util.array";+local queue = require "util.queue";+local array = require "util.array";-- we use async to detect Prosody 0.10 and earlierlocal have_async = pcall(require, "util.async");diff --git a/tests/prosody/lua/mod_short_lived_token_spec.lua b/tests/prosody/lua/mod_short_lived_token_spec.luaindex fe88082905..7c1cbc3945 100644--- a/tests/prosody/lua/mod_short_lived_token_spec.lua+++ b/tests/prosody/lua/mod_short_lived_token_spec.lua@@ -58,7 +58,7 @@ package.preload['util.stanza'] = function()}end-package.preload['prosody.util.throttle'] = function()+package.preload['util.throttle'] = function()return { create = function() return {} end }enddiff --git a/tests/prosody/lua/speakerstats_component_spec.lua b/tests/prosody/lua/speakerstats_component_spec.luaindex 5fd57ccc78..04fdd2cfdd 100644--- a/tests/prosody/lua/speakerstats_component_spec.lua+++ b/tests/prosody/lua/speakerstats_component_spec.lua@@ -65,7 +65,7 @@ package.preload['cjson.safe'] = function()}end-package.preload['prosody.util.queue'] = function()+package.preload['util.queue'] = function()return {new = function(max_size)local items = {}@@ -89,7 +89,7 @@ package.preload['prosody.util.queue'] = function()}end-package.preload['prosody.util.array'] = function()+package.preload['util.array'] = function()-- Prosody's util.array module is itself callable as a constructor.local arr_mt = {}arr_mt.__index = arr_mt