-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Messaging issue #6
Comments
hi @piyushx , i checked it. It's working both ways. When new message arrive it's not scrolling chat to bottom but it's receiving message instantly without refreshing. Check left message tab it will show last message without refreshing. |
Hi @raj074 ! Thanks for the reply. It got solved. However now when I'm trying to register myself on the localhost, I'm getting an error from the backend. Here it goes: node:internal/errors:464 Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client Can you let me know why is this happening? |
@piyushx , I am also contributor in above project.This error describes that res has been set more than once in your code. remove line no. 60 res.json({ msg: "registered" }); |
I have been testing the messaging feature by chatting with myself from PC and mobile. When I send a message from PC, it instantly comes on the mobile. But when I message from the mobile, it doesn't come on the PC unless I refresh the page or switch tabs. Can you tell me why is this happening?
The text was updated successfully, but these errors were encountered: