diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index 6cf3650e433a..8b9d13261219 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -171,6 +171,9 @@ function getSimplifiedReportObject(report) { ? getChatReportName(report, chatType) : report.reportName; const lastActorEmail = lodashGet(lastReportAction, 'accountEmail', ''); + const notificationPreference = isDefaultRoom({chatType}) + ? lodashGet(report, ['reportNameValuePairs', 'notificationPreferences', currentUserAccountID], 'daily') + : ''; return { reportID: report.reportID, @@ -191,6 +194,7 @@ function getSimplifiedReportObject(report) { lastMessageText: isLastMessageAttachment ? '[Attachment]' : lastMessageText, lastActorEmail, hasOutstandingIOU: false, + notificationPreference, }; }