Skip to content

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

Removes Prosody patch(the code is in trunk)

paweldomas1565f0a5984c
diff --git a/debian/jitsi-meet-tokens.postinst b/debian/jitsi-meet-tokens.postinst
index d298316ab2..67bbd83f31 100644
--- a/debian/jitsi-meet-tokens.postinst
+++ b/debian/jitsi-meet-tokens.postinst
@@ -74,11 +74,6 @@ case "$1" in
if [ -x "/etc/init.d/prosody" ]; then
invoke-rc.d prosody restart
fi
-
- echo "This package requires BOSH Prosody module to be patched !"
- echo "Use the following command, after this package has been installed and"
- echo "after every prosody-trunk upgrade:"
- echo "sudo patch -N /usr/lib/prosody/modules/mod_bosh.lua /usr/share/jitsi-meet/prosody-plugins/mod_bosh.lua.patch"
else
echo "Failed apply auto-config to $PROSODY_HOST_CONFIG which most likely comes from not supported version of jitsi-meet"
fi
diff --git a/prosody-plugins/mod_bosh.lua.patch b/prosody-plugins/mod_bosh.lua.patch
deleted file mode 100644
index 928261661a..0000000000
--- a/prosody-plugins/mod_bosh.lua.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- /usr/lib/prosody/modules/mod_bosh.lua 2015-12-16 14:28:34.000000000 -0600
-+++ /usr/lib/prosody/modules/mod_bosh.lua 2015-12-22 10:45:59.818197967 -0600
-@@ -294,6 +294,9 @@
-
- session.log("debug", "BOSH session created for request from %s", session.ip);
- log("info", "New BOSH session, assigned it sid '%s'", sid);
-+
-+ hosts[session.host].events.fire_event(
-+ "bosh-session", { session = session, request = request });
-
- -- Send creation response
- local creating_session = true;