From afda1396c2586a36318ddb04281f720011426ddd Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sat, 9 Nov 2024 22:09:01 +0100 Subject: [PATCH] [mirotalksfu] - fix typo --- public/js/Room.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/Room.js b/public/js/Room.js index ea2fa6d5..d9691f16 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -1006,7 +1006,9 @@ async function whoAreYou() { // Define peer_name based on the profile properties and preferences const peerNamePreference = profile.peer_name || {}; default_name = - (peerNamePreference.email && profile.email) || (peerNamePreference.name && profile.name) || null; + (peerNamePreference.email && profile.email) || + (peerNamePreference.name && profile.name) || + default_name; // Set localStorage and force_peer_name if applicable if (default_name && peerNamePreference.force) {