Skip to content

Commit

Permalink
Merge pull request #43489 from suneox/41885-update-sidebar-unread
Browse files Browse the repository at this point in the history
update unread condition by self dm
  • Loading branch information
NikkiWines authored Jun 27, 2024
2 parents 4c93294 + f0e3fdd commit c4a4435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5227,7 +5227,7 @@ function isUnread(report: OnyxEntry<Report>): boolean {
return false;
}

if (isEmptyReport(report)) {
if (isEmptyReport(report) && !isSelfDM(report)) {
return false;
}
// lastVisibleActionCreated and lastReadTime are both datetime strings and can be compared directly
Expand Down

0 comments on commit c4a4435

Please sign in to comment.