Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b21bd165 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

jisti link

parent 5012ecf5
Loading
Loading
Loading
Loading
Loading
+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
 	 */
 	 */
@@ -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)];
+			}
+			}