I’ve built a simple messenger from one user to another.
When the user 1 sends a message to user 2 it creates a conversation and adds a new message to a message list. It also marks the conversation ‘opened= no’ in the database to that the recipient knows its new.
When user 2 opens the message it turn to ‘opened=yes’
So with this, I am trying to indicate to user 2 in the inbox which message is unread (a bit like a bold text when you get a new email)
The problem is it can’t do the same if user 1 adds a new message to the conversation as it doesnt make sense ( User 1 already know they have just added a message) so I came up with this:
Make the background grey if new.
But it’s not working- or not as I want it to, am I doing something wrong- any ideas of how to approach this?