Skip to content

Commit

Permalink
Merge pull request #51212 from mkzie2/mkzie2-issue/51066
Browse files Browse the repository at this point in the history
fix: self DM is marked as unread when empty
  • Loading branch information
bondydaa authored Oct 23, 2024
2 parents 6801de7 + cd7d85a commit 8f82215
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 @@ -6124,7 +6124,7 @@ function isUnread(report: OnyxEntry<Report>): boolean {
return false;
}

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

0 comments on commit 8f82215

Please sign in to comment.