Skip to content

Commit

Permalink
Merge pull request #56389 from Expensify/dsilva_unmaskAdminRoom
Browse files Browse the repository at this point in the history
Adding check to return true if room is #admins for FS session
  • Loading branch information
Julesssss authored Feb 4, 2025
2 parents edd06e4 + e6a3cc4 commit 0f9e109
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9065,6 +9065,10 @@ function shouldUnmaskChat(participantsContext: OnyxEntry<PersonalDetailsList>, r
return true;
}

if (isAdminRoom(report)) {
return true;
}

const participantAccountIDs = Object.keys(report.participants);

if (participantAccountIDs.length > 2) {
Expand Down

0 comments on commit 0f9e109

Please sign in to comment.