Chat module notifications

hello community. I have successfully installed the frappe chat module in local system . everything is working fine I can chat between 2 users . however when I tried the module in a hosted erpnext , real time notifications are not working . I can send messages to other user but he needs to refresh the page to see the message . what am I doing wrong here ?