I have a social website and I need a working chat box to be added. I will provide you with the frontend code. The user should be able to chat only with people he has connected (followed). Along with that these two small changes are to be done-
>When image/video is added to post there should be some indication.
>New comments to posts should come after old one and not before. Same for reply to