Skip to content

Commit

Permalink
Add clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Amal Nazeem committed Jul 2, 2021
1 parent 4a33ecc commit 9a4e3a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/reportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ function getDefaultRoomSubtitle(report, policiesMap) {
return '';
}
if (report.chatType === CONST.REPORT.CHAT_TYPE.DOMAIN_ALL) {
// The domainAll rooms are just #domainName, so we ignore the prefix '#' to get the domainName
return report.reportName.substring(1);
}
return lodashGet(
Expand Down

0 comments on commit 9a4e3a0

Please sign in to comment.