diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index 79d6c99c86e89..13dc95a09a1b8 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -1201,6 +1201,11 @@ NetworkConnection.onReconnect(fetchAllReports); * @param {String} htmlForNewComment */ function editReportComment(reportID, originalReportAction, htmlForNewComment) { + // Skip the Edit if message is not changed + if (originalReportAction.message[0].html === htmlForNewComment.trim()) { + return; + } + // Optimistically update the report action with the new message const sequenceNumber = originalReportAction.sequenceNumber; const newReportAction = {...originalReportAction};