Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message seen not uniquely identify #6

Open
pradeepkumar24rk opened this issue Oct 25, 2024 · 0 comments
Open

Message seen not uniquely identify #6

pradeepkumar24rk opened this issue Oct 25, 2024 · 0 comments
Labels
invalid This doesn't seem right

Comments

@pradeepkumar24rk
Copy link
Owner

markAsSeen before update in database in sender have in messageList
{
"senderId": "6704ed7d43c7900df7e97ee0",
"receiverId": "65b9ddc3c1512617e0d0bc0e",
"isSeen": false,
"message": "test 20",
"createdAt": "2024-10-23T11:08:49.962Z"
}
in receiver side have
Image
{
"_id": "6718d9418409919c69056649",
"senderId": "6704ed7d43c7900df7e97ee0",
"receiverId": "65b9ddc3c1512617e0d0bc0e",
"roomId": "65b9ddc3c1512617e0d0bc0e_6704ed7d43c7900df7e97ee0",
"message": "test 20",
"isSeen": false,
"createdAt": "2024-10-23T11:08:49.967Z",
"updatedAt": "2024-10-23T11:08:49.967Z",
"__v": 0
}
when the receiver seen the message it send the {
"_id": "6718d9418409919c69056649",
"senderId": "6704ed7d43c7900df7e97ee0",
"receiverId": "65b9ddc3c1512617e0d0bc0e",
"roomId": "65b9ddc3c1512617e0d0bc0e_6704ed7d43c7900df7e97ee0",
"message": "test 20",
"isSeen": false,
"createdAt": "2024-10-23T11:08:49.967Z",
"updatedAt": "2024-10-23T11:08:49.967Z",
"__v": 0
} this message to sender. Then how to sender messageList that message has seen.

@pradeepkumar24rk pradeepkumar24rk added the invalid This doesn't seem right label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
Status: Backlog
Development

No branches or pull requests

1 participant