Skip to content

Commit

Permalink
Merge pull request #50082 from truph01/fix/49260
Browse files Browse the repository at this point in the history
fix: LHN - Members' room names are displayed incorrectly
  • Loading branch information
MariaHCD authored Oct 4, 2024
2 parents 0ed41d7 + 28f3a46 commit 66aefc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3763,7 +3763,7 @@ function getReportName(
if (reportID && !isUserCreatedPolicyRoom(report) && !isDefaultRoom(report)) {
const reportNameFromCache = reportNameCache.get(cacheKey);

if (reportNameFromCache?.reportName && reportNameFromCache.reportName === report?.reportName) {
if (reportNameFromCache?.reportName && reportNameFromCache.reportName === report?.reportName && reportNameFromCache.reportName !== CONST.REPORT.DEFAULT_REPORT_NAME) {
return reportNameFromCache.reportName;
}
}
Expand Down

0 comments on commit 66aefc3

Please sign in to comment.