Skip to content

Commit

Permalink
Update src/libs/SidebarUtils.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Abdelhafidh Belalia <[email protected]>
  • Loading branch information
nkdengineer and s77rt authored Jul 11, 2024
1 parent 229402a commit b7c57ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/SidebarUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,8 @@ function getRoomWelcomeMessage(report: OnyxEntry<Report>): WelcomeMessage {
const workspaceName = ReportUtils.getPolicyName(report);

if (report?.description) {
welcomeMessage.messageText = Parser.htmlToText(report.description);
welcomeMessage.messageHtml = report.description;
welcomeMessage.messageText = Parser.htmlToText(welcomeMessage.messageHtml);
return welcomeMessage;
}
if (ReportUtils.isArchivedRoom(report)) {
Expand Down

0 comments on commit b7c57ec

Please sign in to comment.