Skip to content

Commit

Permalink
Merge pull request #5042 from Expensify/nikki-use-text-not-html
Browse files Browse the repository at this point in the history
Prevent tags for showing in sidebar for edited messages
  • Loading branch information
NikkiWines authored Oct 18, 2021
2 parents 1d1323c + 339a5f7 commit c23c8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Report.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ function updateReportActionMessage(reportID, sequenceNumber, message) {
// If this is the most recent message, update the lastMessageText in the report object as well
if (sequenceNumber === reportMaxSequenceNumbers[reportID]) {
Onyx.merge(`${ONYXKEYS.COLLECTION.REPORT}${reportID}`, {
lastMessageText: message.html,
lastMessageText: message.text,
});
}
}
Expand Down

0 comments on commit c23c8be

Please sign in to comment.