mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-04 09:59:44 +00:00
feat(calendar): Can defined the Jitsi server url for meeting created
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user