Fixed the redundant messages issue. Turns out the issue was on the client size. Socket was disconnecting and reconnecting silently and all messges were appended to the chat.
This issue was only occuring on the production version, not on the client. Thus it was a little hard to debug for me.
I am sure I have made the necessary changes and it is ready to be deployed.
Please deploy so I can see if any issue remains on the production version.
Also there was a little error while sending files, which is now fixed. Previously files could not be sent.
Fixed the redundant messages issue. Turns out the issue was on the client size. Socket was disconnecting and reconnecting silently and all messges were appended to the chat. This issue was only occuring on the production version, not on the client. Thus it was a little hard to debug for me. I am sure I have made the necessary changes and it is ready to be deployed. Please deploy so I can see if any issue remains on the production version.
Also there was a little error while sending files, which is now fixed. Previously files could not be sent.
Fixes #189