Skip to content

Commit

Permalink
Merge pull request #22956 from hungvu193/fix-21103
Browse files Browse the repository at this point in the history
Fix Inconsistent behavior on deleting message that have reply/thread
  • Loading branch information
MonilBhavsar authored Jul 17, 2023
2 parents 25c8ae5 + ebe26d4 commit f638162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportActionsUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ function isCreatedTaskReportAction(reportAction) {
* @returns {Boolean}
*/
function isMessageDeleted(reportAction) {
return lodashGet(reportAction, 'originalMessage.isDeletedParentAction', false);
return lodashGet(reportAction, ['message', 0, 'isDeletedParentAction'], false);
}

function isWhisperAction(action) {
Expand Down

0 comments on commit f638162

Please sign in to comment.