Hi there,
I have been creating the messaging app. Going good I guess. But I run in to this problem that when I
The problem when 2 users are in the same chat page:
User X (currently logged in user) sends a message to User Y. It sends the notification to the same logged in user (User X) which is the current user. (not good)
When User Y is logged in and send a message to User X. It send the notification to user Y… which is the same user that has send the message.
So when Debbie send a message to Zairo > Debbie receives notification ´Debbie has sent you a message´… This notification has to go to Zairo. … Zairo doesn’t receive any notification… when Debbie send a message.
But when Zairo send a message to Debbie… > Debbie receives the notification… ´Zairo has sent you a message´This is correct
Can anyone help me?






