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
[RN] Don't tell everyone we're called "me"
Lyubo Marinovce1a8e756764
diff --git a/react/features/base/jwt/middleware.js b/react/features/base/jwt/middleware.jsindex 942de6d471..7b0738e121 100644--- a/react/features/base/jwt/middleware.js+++ b/react/features/base/jwt/middleware.js@@ -14,7 +14,6 @@ import { LIB_INIT_ERROR } from '../lib-jitsi-meet';import {getLocalParticipant,getParticipantCount,- LOCAL_PARTICIPANT_DEFAULT_NAME,PARTICIPANT_JOINED,participantUpdated} from '../participants';@@ -274,7 +273,7 @@ function _undoOverwriteLocalParticipant(newProperties.email = undefined;}if (name === localParticipant.name) {- newProperties.name = LOCAL_PARTICIPANT_DEFAULT_NAME;+ newProperties.name = undefined;}dispatch(participantUpdated(newProperties));}diff --git a/react/features/base/participants/constants.js b/react/features/base/participants/constants.jsindex 66230c7b86..957e54b2e9 100644--- a/react/features/base/participants/constants.js+++ b/react/features/base/participants/constants.js@@ -21,15 +21,6 @@ export const DEFAULT_AVATAR_RELATIVE_PATH = 'images/avatar.png';*/export const LOCAL_PARTICIPANT_DEFAULT_ID = 'local';-/**- * The default display name of the local participant.- *- * TODO Get the display name from config and/or localized.- *- * @type {string}- */-export const LOCAL_PARTICIPANT_DEFAULT_NAME = 'me';-/*** Max length of the display names.*diff --git a/react/features/base/participants/reducer.js b/react/features/base/participants/reducer.jsindex 800dfc7db5..01b70a27e4 100644--- a/react/features/base/participants/reducer.js+++ b/react/features/base/participants/reducer.js@@ -11,11 +11,7 @@ import {PARTICIPANT_UPDATED,PIN_PARTICIPANT} from './actionTypes';-import {- LOCAL_PARTICIPANT_DEFAULT_ID,- LOCAL_PARTICIPANT_DEFAULT_NAME,- PARTICIPANT_ROLE-} from './constants';+import { LOCAL_PARTICIPANT_DEFAULT_ID, PARTICIPANT_ROLE } from './constants';/*** Participant object.@@ -80,10 +76,11 @@ function _participant(state: Object = {}, action) {email,isBot,local,+ name,pinned,role} = participant;- let { avatarID, id, name } = participant;+ let { avatarID, id } = participant;// avatarID//@@ -101,17 +98,6 @@ function _participant(state: Object = {}, action) {id = LOCAL_PARTICIPANT_DEFAULT_ID;}- // name- if (!name) {- // TODO Get the display name from config and/or localized.- // XXX On Web the default value is handled in conference.js by- // getParticipantDisplayName.- if (typeof APP === 'undefined') {- name- = local ? LOCAL_PARTICIPANT_DEFAULT_NAME : 'Fellow Jitster';- }- }-return {avatarID,avatarURL,