From 1565f0a5984cc81d2d595559519eca4112cca133 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Mon, 4 Jan 2016 11:37:54 +0100 Subject: [PATCH] Removes Prosody patch(the code is in trunk) --- debian/jitsi-meet-tokens.postinst | 5 ----- prosody-plugins/mod_bosh.lua.patch | 12 ------------ 2 files changed, 17 deletions(-) delete mode 100644 prosody-plugins/mod_bosh.lua.patch diff --git a/debian/jitsi-meet-tokens.postinst b/debian/jitsi-meet-tokens.postinst index d298316ab..67bbd83f3 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 928261661..000000000 --- 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;