Skip to content

Commit

Permalink
Merge pull request #36041 from Expensify/vit-fireroom20240207
Browse files Browse the repository at this point in the history
[CP Staging] Fix Apple and Google SSO when login in from public room with mentions in it
  • Loading branch information
Julesssss authored Feb 7, 2024
2 parents f88d526 + f39b76a commit 79540ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function MentionUserRenderer(props) {
}

// If the emails are not in the same private domain, we also return the displayText
if (!LoginUtils.areEmailsFromSamePrivateDomain(displayText, props.currentUserPersonalDetails.login)) {
if (!LoginUtils.areEmailsFromSamePrivateDomain(displayText, lodashGet(props.currentUserPersonalDetails, 'login', ''))) {
return displayText;
}

Expand Down

0 comments on commit 79540ce

Please sign in to comment.