I have implemented the Read Status check for my Conversations and it is working as expected.
The ‘New’ icon displays correctly if there are unread messages in the current conversation.
However, i’m now attempting to create a notification which displays on the main homepage if there are ANY unread conversations.
I’ve tried the following;
Insert icon I want to display if unread conversations exist
Make this icon a list of conversations
Show only conversations where the logged in user is a conversation member
this is where i’m stuck…
4) I’m trying to filter the list to only show conversations where the last message sent time stamp of this conversation is after the last read status associated with this conversation created by the logged in user.
The logic makes sense to me but i don’t have the available options to set this up. All I can see is 'is after… Logged in user…
I was maybe expecting to see > Current conversation > Logged in User > Read status (or something else im not quite sure…)
I could then order the list in order of Created most recently…
Will this work when a user sends multiple separate messages in a row or will it confuse the system because each time the send button is being clicked it’s adding the same “current user” multiple times to the conversation?