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
Handles the async wrapping of the mod_muc_size functions
Aaron van Meertenb6efdb533d0c
diff --git a/resources/prosody-plugins/mod_muc_size.lua b/resources/prosody-plugins/mod_muc_size.luaindex b481f78ac9..921e7b37b7 100644--- a/resources/prosody-plugins/mod_muc_size.lua+++ b/resources/prosody-plugins/mod_muc_size.lua@@ -9,6 +9,7 @@ local it = require "util.iterators";local json = require "util.json";local iterators = require "util.iterators";local array = require"util.array";+local wrap_async_run = module:require "util".wrap_async_run;local tostring = tostring;local neturl = require "net.url";@@ -192,9 +193,9 @@ function module.load()module:provides("http", {default_path = "/";route = {- ["GET room-size"] = handle_get_room_size;+ ["GET room-size"] = function (event) return wrap_async_run(event,handle_get_room_size) end;["GET sessions"] = function () return tostring(it.count(it.keys(prosody.full_sessions))); end;- ["GET room"] = handle_get_room;+ ["GET room"] = function (event) return wrap_async_run(event,handle_get_room) end;};});end