Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Changes enableThirdParty requests to disableThirdParty requests, in order to not change existing behaviour (without changes to config.js).

Boris Grozevf42684d78960
diff --git a/config.js b/config.js
index 1bb3d1563f..f180124f25 100644
--- a/config.js
+++ b/config.js
@@ -69,5 +69,5 @@ var config = {
/*noticeMessage: 'Service update is scheduled for 16th March 2015. ' +
'During that time service will not be available. ' +
'Apologise for inconvenience.'*/
- enableThirdPartyRequests: true
+ disableThirdPartyRequests: false
};
diff --git a/index.html b/index.html
index 8b134f2cce..d66835e1d2 100644
--- a/index.html
+++ b/index.html
@@ -223,13 +223,11 @@
</div>
</div>
<script type="text/javascript">
- if (config.enableThirdPartyRequests === true)
- {
+ if (!config.disableThirdPartyRequests) {
[
'https://api.callstats.io/static/callstats.min.js',
'analytics.js?v=1'
- ].forEach(function(extSrc)
- {
+ ].forEach(function(extSrc) {
var extScript = document.createElement('script');
extScript.src = extSrc;
extScript.async = false;
diff --git a/modules/UI/avatar/Avatar.js b/modules/UI/avatar/Avatar.js
index d59f494c7b..4a31d7582a 100644
--- a/modules/UI/avatar/Avatar.js
+++ b/modules/UI/avatar/Avatar.js
@@ -57,7 +57,7 @@ var Avatar = {
"No avatar stored yet for " + jid + " - using JID as ID");
id = jid;
}
- if (config.enableThirdPartyRequests === true) {
+ if (!config.disableThirdPartyRequests) {
return 'https://www.gravatar.com/avatar/' +
MD5.hexdigest(id.trim().toLowerCase()) +
"?d=wavatar&size=" + (size || "30");