mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-20 02:28:11 +00:00
feat(calendar): Can defined the Jitsi server url for meeting created
This commit is contained in:
1 parent
092e7694e0
commit
9f4f48a44f
6 files changed
+34
-2
No files matched your search
@@ -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