feat(calendar): Can defined the Jitsi server url for meeting created

This commit is contained in:
Hivert Quentin
2025-02-03 14:19:02 +01:00
parent 092e7694e0
commit 9f4f48a44f
6 changed files with 34 additions and 2 deletions
@@ -848,8 +848,11 @@
return false;
}
else {
var jitsiBaseUrl = "https://meet.jit.si";
if(Component.$Preferences.defaults && Component.$Preferences.defaults.SOGoCalendarJitsiBaseUrl)
jitsiBaseUrl = Component.$Preferences.defaults.SOGoCalendarJitsiBaseUrl;
for (var i = 0; i < this.attachUrls.length; i++) {
if (this.attachUrls[i].value.includes("meet.jit.si")) {
if (this.attachUrls[i].value.includes(jitsiBaseUrl)) {
return true;
}
}