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
Removes avatarURL from settings UI.
damencho0e27f471f13b
diff --git a/conference.js b/conference.jsindex a7c7693fec..0e3a50d164 100644--- a/conference.js+++ b/conference.js@@ -316,23 +316,6 @@ function changeLocalEmail(email = '') {sendData(commands.EMAIL, email);}--/**- * Changes the local avatar url for the local user- * @param avatarUrl {string} the new avatar url- */-function changeLocalAvatarUrl(avatarUrl = '') {- avatarUrl = avatarUrl.trim();-- if (avatarUrl === APP.settings.getAvatarUrl()) {- return;- }-- APP.settings.setAvatarUrl(avatarUrl);- APP.UI.setUserAvatarUrl(room.myUserId(), avatarUrl);- sendData(commands.AVATAR_URL, avatarUrl);-}-/*** Changes the display name for the local user* @param nickname {string} the new display name@@ -1269,8 +1252,6 @@ export default {APP.UI.setUserEmail(from, data.value);});- APP.UI.addListener(UIEvents.AVATAR_URL_CHANGED, changeLocalAvatarUrl);-room.addCommandListener(this.commands.defaults.AVATAR_URL,(data, from) => {APP.UI.setUserAvatarUrl(from, data.value);diff --git a/lang/main.json b/lang/main.jsonindex 4ba9329d37..3eadf80cf3 100644--- a/lang/main.json+++ b/lang/main.json@@ -119,8 +119,7 @@"selectAudioOutput": "Select audio output","followMe": "Enable follow me","noDevice": "None",- "noPermission": "Permission to use device is not granted",- "avatarUrl": "Avatar URL"+ "noPermission": "Permission to use device is not granted"},"videothumbnail":{diff --git a/modules/UI/side_pannels/settings/SettingsMenu.js b/modules/UI/side_pannels/settings/SettingsMenu.jsindex 271b942fec..35b5ae1a0c 100644--- a/modules/UI/side_pannels/settings/SettingsMenu.js+++ b/modules/UI/side_pannels/settings/SettingsMenu.js@@ -82,11 +82,6 @@ export default {emitter.emit(UIEvents.EMAIL_CHANGED, $('#setEmail').val());}- // AVATAR URL CHANGED- function updateAvatarUrl () {- emitter.emit(UIEvents.AVATAR_URL_CHANGED, $('#setAvatarUrl').val());- }-$('#setEmail').val(Settings.getEmail()).keyup(function (event) {@@ -95,15 +90,6 @@ export default {}}).focusout(updateEmail);- $('#setAvatarUrl')- .val(Settings.getAvatarUrl())- .keyup(function (event) {- if (event.keyCode === 13) { // enter- updateAvatarUrl();- }- }).focusout(updateAvatarUrl);--// START MUTED$("#startMutedOptions").change(function () {let startAudioMuted = $("#startAudioMuted").is(":checked");diff --git a/modules/settings/Settings.js b/modules/settings/Settings.jsindex 389f4db92d..ce9a2d6fce 100644--- a/modules/settings/Settings.js+++ b/modules/settings/Settings.js@@ -35,7 +35,6 @@ if (supportsLocalStorage()) {}email = UIUtil.unescapeHtml(window.localStorage.email || '');- avatarUrl = UIUtil.unescapeHtml(window.localStorage.avatarUrl || '');localFlipX = JSON.parse(window.localStorage.localFlipX || true);displayName = UIUtil.unescapeHtml(window.localStorage.displayname || '');language = window.localStorage.language;@@ -106,7 +105,6 @@ export default {*/setAvatarUrl: function (newAvatarUrl) {avatarUrl = newAvatarUrl;- window.localStorage.avatarUrl = UIUtil.escapeHtml(newAvatarUrl);},/**@@ -117,7 +115,6 @@ export default {return avatarUrl;},-getLanguage () {return language;},diff --git a/service/UI/UIEvents.js b/service/UI/UIEvents.jsindex cbd1bea6d6..e0fe92a1ae 100644--- a/service/UI/UIEvents.js+++ b/service/UI/UIEvents.js@@ -14,10 +14,6 @@ export default {* Notifies that local user changed email.*/EMAIL_CHANGED: "UI.email_changed",- /**- * Notifies that local user changed avatar url.- */- AVATAR_URL_CHANGED: "UI.avatar_url_changed",/*** Notifies that "start muted" settings changed.*/