Loading patches/029-add-jitsi-link.patch +3 −3 Original line number Original line Diff line number Diff line From: Avinash Gusain <avinash.gusain.ext@murena.com> From: Avinash Gusain <avinash.gusain.ext@murena.com> Date: Mon, 24 July 2023 11:50:00 +0530 Date: Mon, 24 July 2023 15:43:00 +0530 Subject: [PATCH] Add jitsi link in location Subject: [PATCH] Add jitsi link in location This patch creates a jitsi link in location if it is empty and attendee is added This patch creates a jitsi link in location if it is empty and attendee is added --- apps/dav/lib/CalDAV/CalDavBackend.php 2023-07-24 14:32:46.692916758 +0530 --- apps/dav/lib/CalDAV/CalDavBackend.php 2023-07-24 14:32:46.692916758 +0530 +++ apps/dav/lib/CalDAV/CalDavBackend-new.php 2023-07-24 13:59:24.132918240 +0530 +++ apps/dav/lib/CalDAV/CalDavBackend-new.php 2023-07-24 15:42:17.292918142 +0530 @@ -1217,6 +1217,23 @@ @@ -1217,6 +1217,23 @@ * @return string * @return string */ */ Loading @@ -15,7 +15,7 @@ This patch creates a jitsi link in location if it is empty and attendee is added + $url = 'https://meet.jit.si/'; + $url = 'https://meet.jit.si/'; + $chars = '0123456789abcdefghijklmnopqrstuvwxyz'; + $chars = '0123456789abcdefghijklmnopqrstuvwxyz'; + $result = ''; + $result = ''; + $length = strlen($chars); + $length = 8; + for ($i = $length; $i > 0; --$i) { + for ($i = $length; $i > 0; --$i) { + $result .= $chars[rand(0, strlen($chars) - 1)]; + $result .= $chars[rand(0, strlen($chars) - 1)]; + } + } Loading Loading
patches/029-add-jitsi-link.patch +3 −3 Original line number Original line Diff line number Diff line From: Avinash Gusain <avinash.gusain.ext@murena.com> From: Avinash Gusain <avinash.gusain.ext@murena.com> Date: Mon, 24 July 2023 11:50:00 +0530 Date: Mon, 24 July 2023 15:43:00 +0530 Subject: [PATCH] Add jitsi link in location Subject: [PATCH] Add jitsi link in location This patch creates a jitsi link in location if it is empty and attendee is added This patch creates a jitsi link in location if it is empty and attendee is added --- apps/dav/lib/CalDAV/CalDavBackend.php 2023-07-24 14:32:46.692916758 +0530 --- apps/dav/lib/CalDAV/CalDavBackend.php 2023-07-24 14:32:46.692916758 +0530 +++ apps/dav/lib/CalDAV/CalDavBackend-new.php 2023-07-24 13:59:24.132918240 +0530 +++ apps/dav/lib/CalDAV/CalDavBackend-new.php 2023-07-24 15:42:17.292918142 +0530 @@ -1217,6 +1217,23 @@ @@ -1217,6 +1217,23 @@ * @return string * @return string */ */ Loading @@ -15,7 +15,7 @@ This patch creates a jitsi link in location if it is empty and attendee is added + $url = 'https://meet.jit.si/'; + $url = 'https://meet.jit.si/'; + $chars = '0123456789abcdefghijklmnopqrstuvwxyz'; + $chars = '0123456789abcdefghijklmnopqrstuvwxyz'; + $result = ''; + $result = ''; + $length = strlen($chars); + $length = 8; + for ($i = $length; $i > 0; --$i) { + for ($i = $length; $i > 0; --$i) { + $result .= $chars[rand(0, strlen($chars) - 1)]; + $result .= $chars[rand(0, strlen($chars) - 1)]; + } + } Loading