frappe / chat

Modern Chat App for Frappe
Other
103 stars 124 forks source link

Can not get the new message #3

Closed mohsinalimat closed 2 years ago

mohsinalimat commented 2 years ago

One issue is there when userA sent a message to userB then at a time userB can not get the message.

UserB has to close the chat and open again then get a new message.

codescientist703 commented 2 years ago

If UserA and UserB are the same, only 1 session user will get the message.

mohsinalimat commented 2 years ago

UserA uses the normal window and UserB uses the Private window.

codescientist703 commented 2 years ago

UserA and UserB should be different.

mohsinalimat commented 2 years ago

Yes, User is different.

codescientist703 commented 2 years ago

Post a screenshot showing it along with the open Inspect element console.

mohsinalimat commented 2 years ago

Please check

https://user-images.githubusercontent.com/973676/133729334-0640798d-18bf-47ac-b2b1-8f72446c21e0.mov

codescientist703 commented 2 years ago

seems like your socketio server is not working correctly. I have tested it on a fresh new site and it works perfectly fine.

kurtrottmann commented 2 years ago

Does chat work when using with Frappe Docker "Development Setup" (https://github.com/frappe/frappe_docker/tree/develop/development) ? I have the same problem where the messages are not refreshed. I'm using version-13.

codescientist703 commented 2 years ago

It should work. If you are not receiving messages then there is most likely a problem with your socketio configuration.

hamzahabeeb commented 8 months ago

doesnt work