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
fix(prejoin): Don't overwrite display name with ''
Hristo Terezov29f5d87d77a6
diff --git a/react/features/base/jwt/functions.js b/react/features/base/jwt/functions.jsindex 54fe750307..1d398c85a2 100644--- a/react/features/base/jwt/functions.js+++ b/react/features/base/jwt/functions.js@@ -24,5 +24,5 @@ export function parseJWTFromURLParams(url: URL = window.location) {export function getJwtName(state: Object) {const { user } = state['features/base/jwt'];- return user?.name || '';+ return user?.name;}diff --git a/react/features/base/settings/middleware.js b/react/features/base/settings/middleware.jsindex 90bcd65934..89c90b7747 100644--- a/react/features/base/settings/middleware.js+++ b/react/features/base/settings/middleware.js@@ -135,9 +135,11 @@ function _maybeUpdateDisplayName({ dispatch, getState }) {if (hasJwt) {const displayName = getJwtName(state);- dispatch(updateSettings({- displayName- }));+ if (displayName) {+ dispatch(updateSettings({+ displayName+ }));+ }}}