Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Use gravatar when enabled.
Jesse Bickelfd9485b7e588
diff --git a/index.html b/index.htmlindex 3fd0f663c7..fc6dfdc393 100644--- a/index.html+++ b/index.html@@ -202,7 +202,7 @@</div><div id="settingsmenu" class="right-panel"><div class="icon-settings" data-i18n="settings.title"></div>- <img id="avatar" src="https://www.gravatar.com/avatar/87291c37c25be69a072a4514931b1749?d=wavatar&size=30"/>+ <img id="avatar" src="images/avatar2.png"/><div class="arrow-up"></div><input type="text" id="setDisplayName" data-i18n="[placeholder]settings.name" placeholder="Name"><input type="text" id="setEmail" placeholder="E-Mail">diff --git a/modules/UI/avatar/Avatar.js b/modules/UI/avatar/Avatar.jsindex a75d27be93..136cebc6e7 100644--- a/modules/UI/avatar/Avatar.js+++ b/modules/UI/avatar/Avatar.js@@ -1,4 +1,6 @@-/* global MD5 */+/* global Strophe, APP, MD5, config */+var Settings = require("../../settings/Settings");+var users = {};var Avatar = {@@ -53,12 +55,16 @@ var Avatar = {);email = id;}- return 'https://www.gravatar.com/avatar/' +- MD5.hexdigest(email.trim().toLowerCase()) +- "?d=wavatar&size=" + (size || "30");+ if (config.enableThirdPartyRequests === true) {+ return 'https://www.gravatar.com/avatar/' ++ MD5.hexdigest(id.trim().toLowerCase()) ++ "?d=wavatar&size=" + (size || "30");+ } else {+ return 'images/avatar2.png';+ }}};-module.exports = Avatar;\ No newline at end of file+module.exports = Avatar;