-
Notifications
You must be signed in to change notification settings - Fork 85
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
Duplicate appending of message .... #7
Comments
I tried to make a simple javascript function for this. But I'm sure that it's not the best way to solve it. I tried by updating:
|
Using the javascript code above cause delay in updating realtime message. Please help about this issue. Thank you very much. |
After adding message ID to li tag in message.html.erb Just to prevent duplication of message. |
This is an issue with the private_pub gem allowing multiple channel subscriptions. The issue has been addressed by other users but has not yet been accepted and merged into the master. Until it has been merged, you can substitute a forked version of the gem like the one I've created here and it should resolve the issue. |
I found some issue about duplication of message once you go to other page like user edit page then go back to index page, then try to make a chat message. First try, message will be doubled then try again [>> going to user edit page >> back to index page] message will be tripled and so on...
The text was updated successfully, but these errors were encountered: