Skip to content

Commit

Permalink
[mirotalksfu] - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Nov 9, 2024
1 parent 008baf2 commit afda139
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/js/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit afda139

Please sign in to comment.