Skip to content

Commit

Permalink
fix: unread messages count
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAlbDR committed Apr 11, 2024
1 parent 27ba843 commit 215dae7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/presentation/chats/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export class ChatService {
select: {
messages: {
where: {
username: { not: user.name },
isRead: false,
},
},
Expand Down

0 comments on commit 215dae7

Please sign in to comment.