We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db20dc2 commit ba531bdCopy full SHA for ba531bd
1 file changed
src/services/notificationService.ts
@@ -59,6 +59,7 @@ class NotificationService {
59
60
const newUnreadIds = new Set<string>();
61
for (const chat of filteredChats) {
62
+ if (chat.lastMessage?.from === authService.currentUser.uid) continue;
63
const lastMessageTime = chat.updatedAt instanceof Timestamp ? chat.updatedAt.toDate().getTime() : 0;
64
const lastReadTime = readTimestamps[chat.id] || 0;
65
0 commit comments