I’m putting together a chat scheme, similar to whats app. However, I wanted, when a person clicked on the conversation, to change the unread messages to read. But I can’t do that because I don’t know how to change multiple items in the database at once.
Keep the unread count and update that.
Update the chat message object if you want to keep track for each message.
Or you have unread count along with last read message timestamp
This topic was automatically closed after 70 days. New replies are no longer allowed.