You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i really need help with sockets. so what i have is allconversations screen which has all the conversations on and the chat screen which is the actually chat itself. i have successfully implemented sockets that when both users are inside the chat messages get sent live. my problem is if user 1 is on allconversations screen and user 2 is inside chat and user2 sends user 1 a message. the message gets rendered live for user 2 but user 1 does not know about this new message because he/she are not inside chat. how to implement a feature for user 1 that if this scenario happens the conversation that receives a new messages becomes bold on the allconversations screen?
thank you in advance, i have been trying to solve this for a month now and couldnt get anywhere :(
The text was updated successfully, but these errors were encountered:
Hi,
i really need help with sockets. so what i have is allconversations screen which has all the conversations on and the chat screen which is the actually chat itself. i have successfully implemented sockets that when both users are inside the chat messages get sent live. my problem is if user 1 is on allconversations screen and user 2 is inside chat and user2 sends user 1 a message. the message gets rendered live for user 2 but user 1 does not know about this new message because he/she are not inside chat. how to implement a feature for user 1 that if this scenario happens the conversation that receives a new messages becomes bold on the allconversations screen?
thank you in advance, i have been trying to solve this for a month now and couldnt get anywhere :(
The text was updated successfully, but these errors were encountered: